:root {
    --blue-spruce: #136f63;
    --ruby-red: #b10f2e;
    --imperial-blue: #0a2472;
    --bright-lemon: #f9e900;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    width: 380px;
    max-height: 600px;
    overflow-y: auto;
    margin: 0 auto;
}

.header {
    background: linear-gradient(135deg, var(--imperial-blue) 0%, var(--blue-spruce) 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(10, 36, 114, 0.2);
}
 
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.logo-icon {
    font-size: 20px;
}
 
.logo-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead-counter {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}
 
#lead-count {
    color: var(--bright-lemon);
    font-weight: 700;
    font-size: 14px;
}
 

.container {
    padding: 20px;
}


.section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#category-select{
    margin-top: 15px;
    flex-direction: column; 
    gap: 5px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    padding: 5px;
    margin-bottom: 5px;

}



.quick-save {
    margin-bottom: 20px;
}
 
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}
 
.btn-icon {
    font-size: 14px;
}
 
.btn-primary {
    background: var(--imperial-blue);
    color: var(--white);
}
.btn-primary:hover {
    background: #0c2d91;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 36, 114, 0.3);
}
 
.btn-secondary {
    background: var(--blue-spruce);
    color: var(--white);
}
 
.btn-secondary:hover {
    background: #178975;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19, 111, 99, 0.3);
}
 .input-field {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}
 
.input-field:focus {
    outline: none;
    border-color: var(--imperial-blue);
    box-shadow: 0 0 0 3px rgba(10, 36, 114, 0.1);
}
 
.input-field::placeholder {
    color: var(--gray-600);
}


.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
 
.stat-card {
    background: var(--white);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--gray-200);
}
 
.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--imperial-blue);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--gray-600);
    font-weight: 500;
}
 

.leads-section {
    margin-bottom: 20px;
}
 
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
 
.btn-text {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-danger {
    color: var(--ruby-red);
}
 
.btn-danger:hover {
    background: rgba(177, 15, 46, 0.1);
}
 

.leads-list {
    list-style: none;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}
 
.leads-list li {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.leads-list li:hover {
    border-color: var(--imperial-blue);
    box-shadow: 0 2px 8px rgba(10, 36, 114, 0.1);
    transform: translateX(2px);
}
 
.leads-list a {
    display: block;
    padding: 12px;
    color: var(--gray-900);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
}
 
.leads-list a:hover {
    color: var(--imperial-blue);
}
 
/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

 
.empty-state.show {
    display: block;
}
 
.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
 
.empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
 
.empty-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--gray-100);
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}
 
.footer p {
    font-size: 11px;
    color: var(--gray-600);
}
 
.footer a {
    color: #f9e900;
    text-decoration: none;
    font-weight: 600;
}
 
.footer a:hover {
    text-decoration: underline;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}
 
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
 
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}
 
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}