/* ==================== EMAIL CARD STYLES ==================== */
/* Email card with selection */
.email-card {
    position: relative;
    cursor: pointer;
}

.email-card.selected {
    background: #f8fafc;
    border-color: #94a3b8;
}

.email-card.selected:hover {
    background: #f1f5f9;
}

/* Custom checkbox for email selection */
.email-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.email-checkbox svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.email-checkbox.checked {
    background: #64748b;
    border-color: #64748b;
}

.email-checkbox.checked svg {
    opacity: 1;
    transform: scale(1);
}

.email-card:hover .email-checkbox {
    border-color: #94a3b8;
}

/* Email count badge on Add Email button */
.email-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #64748b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Add Email button active state with emails selected */
.add-email-btn-active {
    background: #64748b !important;
    color: white !important;
}

.add-email-btn-active:hover {
    background: #475569 !important;
}

.add-email-btn-active svg {
    stroke: white;
}

/* Apply Fix Button Styles */
.apply-fix-btn:disabled {
    background: #9ca3af !important; /* Greyish color */
    border-color: #9ca3af !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.apply-fix-btn:disabled:hover {
    background: #9ca3af !important; /* Keep greyish on hover when disabled */
}

/* ==================== EMAIL TOOL INDICATOR ==================== */
.email-indicator.active {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}
.email-indicator-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #64748b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}
