body {
    background: radial-gradient(circle at 10% 20%, rgb(4, 21, 33) 0%, rgb(10, 10, 10) 90.2%);
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
}

.transition-all {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card {
    background-color: #1e1e1e !important;
}

.card-header h2 {
    color: #f8fafc;
}

.text-subtitle {
    color: #d8e2ff;
}

.text-label {
    color: #b7c4e0;
    letter-spacing: 0.8px;
}

#cardNumber:focus {
    background-color: #2c2c2c !important;
    border: 1px solid #0d6efd !important;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.2);
}

#cardBrandOverlay.detected {
    border-color: #0d6efd !important;
    background-color: #0b1c31 !important;
    transform: scale(1.02);
}

#brandName {
    color: #f8fafc;
}

#brandStatus {
    color: #c8d4ef !important;
}

.brand-icon-display i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.brand-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
}

/* Accordion Custom Dark Style */
.accordion-button:not(.collapsed) {
    color: #e8f0ff;
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-button.collapsed {
    color: #d2dcf2;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    color: #dbe7ff;
}

.accordion-body li {
    margin-bottom: 0.35rem;
    color: #dbe7ff;
}

.accordion-body strong {
    color: #ffffff;
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 28px;
}

.rule-logo {
    width: 46px;
    height: 28px;
    object-fit: contain;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 4px;
    flex-shrink: 0;
}

.rule-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    font-weight: 700;
    color: #e2e8f0;
    background: #1e40af;
}

.badge {
    min-width: 60px;
    letter-spacing: 0.5px;
}
