/* ==========================================================================
   Diya Aromas - Slide-Out Cart Drawer Styles
   ========================================================================== */

.diya-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.diya-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.diya-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
}

.diya-cart-drawer.active {
    transform: translateX(0);
}

/* Cart Header */
.diya-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.diya-cart-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.diya-cart-title-wrap h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.diya-cart-count-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}

.diya-cart-close-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.diya-cart-close-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: rotate(90deg);
}

/* Cart Body / Items */
.diya-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Empty State */
.diya-cart-empty {
    text-align: center;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diya-cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    border: 1px dashed #cbd5e1;
}

.diya-cart-empty h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.diya-cart-empty p {
    margin: 0 0 24px 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 280px;
}

.diya-cart-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.diya-cart-shop-btn:hover {
    background: #334155;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
}

/* Cart Item Card */
.diya-cart-item {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.diya-cart-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.diya-cart-item-img {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.diya-cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.diya-cart-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.diya-cart-item-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

.diya-cart-item-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.diya-cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.diya-cart-item-oldprice {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Item Controls: Quantity & Delete */
.diya-cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.diya-cart-remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.diya-cart-remove-btn:hover {
    color: #ef4444;
}

.diya-cart-qty-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    overflow: hidden;
}

.diya-cart-qty-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
}

.diya-cart-qty-btn:hover {
    background: #e2e8f0;
}

.diya-cart-qty-val {
    width: 24px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

/* Cart Footer */
.diya-cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.diya-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #475569;
}

.diya-cart-summary-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.diya-cart-savings-row {
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 600;
}

.diya-cart-shipping-badge {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.diya-cart-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.diya-cart-whatsapp-btn:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.diya-cart-whatsapp-btn i {
    font-size: 1.25rem;
}

.diya-cart-continue-btn {
    text-align: center;
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
    padding: 4px 0;
}

.diya-cart-continue-btn:hover {
    color: #0f172a;
}

/* Toast notification when item added */
.diya-cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 99997;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    pointer-events: none;
}

.diya-cart-toast.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.diya-cart-toast i {
    color: #22c55e;
}

@media (max-width: 480px) {
    .diya-cart-drawer,
    .diya-wishlist-drawer {
        max-width: 100%;
    }
}

/* ==========================================================================
   Wishlist Drawer Styles
   ========================================================================== */

.diya-wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.diya-wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.diya-wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
}

.diya-wishlist-drawer.active {
    transform: translateX(0);
}

.diya-wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.diya-wishlist-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.diya-wishlist-title-wrap h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.diya-wishlist-count-pill {
    background: #fdf2f2;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}

.diya-wishlist-close-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.diya-wishlist-close-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: rotate(90deg);
}

.diya-wishlist-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Empty Wishlist State */
.diya-wishlist-empty {
    text-align: center;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diya-wishlist-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fef2f2;
    color: #f87171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    border: 1px dashed #fca5a5;
}

.diya-wishlist-empty h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.diya-wishlist-empty p {
    margin: 0 0 24px 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 280px;
}

/* Wishlist Item Card */
.diya-wishlist-item {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.diya-wishlist-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.diya-wishlist-item-img {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.diya-wishlist-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.diya-wishlist-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.diya-wishlist-item-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

.diya-wishlist-item-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.diya-wishlist-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.diya-wishlist-item-oldprice {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.diya-wishlist-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.diya-wishlist-remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.diya-wishlist-remove-btn:hover {
    color: #ef4444;
}

.diya-wishlist-add-bag-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.diya-wishlist-add-bag-btn:hover {
    background: #334155;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.wishlist-btn.active-wishlist {
    color: #ff5a4d !important;
}

.wishlist-btn.active-wishlist svg {
    fill: #ff5a4d !important;
    stroke: #ff5a4d !important;
}

.wishlist-btn.active-wishlist i {
    color: #ff5a4d !important;
}

/* ==========================================================================
   Universal Hero & Section Visibility Guarantees
   ========================================================================== */

.shop-hero,
.page-hero,
.video-hero,
.video-hero.scroll-reveal,
.page-hero.scroll-reveal,
.shop-hero.scroll-reveal,
.scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ==========================================================================
   Live Search Dropdown Styles
   ========================================================================== */

.header-search {
    position: relative;
}

.diya-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid #f1f5f9;
    z-index: 100000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    color: #1e293b;
    font-family: 'Montserrat', -apple-system, sans-serif;
    animation: diyaFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.diya-search-dropdown.active {
    display: flex;
}

@keyframes diyaFadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diya-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.diya-search-count-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diya-search-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px;
    transition: color 0.2s;
}

.diya-search-close-btn:hover {
    color: #0f172a;
}

.diya-search-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
}

.diya-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-bottom: 1px solid #f8fafc;
}

.diya-search-item:last-child {
    border-bottom: none;
}

.diya-search-item:hover {
    background: #f8fafc;
}

.diya-search-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}

.diya-search-info {
    flex: 1;
    min-width: 0;
}

.diya-search-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.diya-search-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.diya-search-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.diya-search-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.diya-search-quick-add {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.diya-search-quick-add:hover {
    background: #334155;
}

.diya-search-footer {
    padding: 10px 16px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.diya-search-view-all-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}

.diya-search-view-all-btn:hover {
    background: #e2e8f0;
}

.diya-search-empty {
    padding: 30px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* ==========================================================================
   Header User Account Menu & Auth Styles
   ========================================================================== */

.user-account-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-account-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.editorial-header.scrolled .user-account-chip {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.user-account-chip:hover {
    background: rgba(229, 193, 88, 0.25);
    border-color: #e5c158;
}

.user-account-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5c158;
    color: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.user-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid #f1f5f9;
    padding: 8px 0;
    z-index: 100000;
    display: none;
    flex-direction: column;
    animation: diyaFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-account-dropdown.active {
    display: flex;
}

.user-account-info-header {
    padding: 10px 16px 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.user-account-full-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-account-email {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #334155;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.user-dropdown-link:hover {
    background: #f8fafc;
    color: #0f172a;
}

.user-dropdown-link.logout-btn {
    color: #ef4444;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 10px;
}

.user-dropdown-link.logout-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Alert Banners for Forms */
.auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.auth-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Password eye toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 44px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #475569;
}

/* ====================================================
   Mobile OTP Authentication Styles
   ==================================================== */
.auth-mode-tabs {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.auth-tab-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #4a1516;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrapper:focus-within {
    border-color: #e5c158;
    box-shadow: 0 0 0 3px rgba(229, 193, 88, 0.25);
}

.phone-country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
    height: 48px;
    user-select: none;
}

.phone-country-code img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.phone-input-wrapper input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 12px 14px !important;
    font-size: 1.05rem !important;
    letter-spacing: 1px;
    color: #1e293b;
    height: 48px;
}

/* 6-Digit OTP Boxes */
.otp-boxes-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 20px 0;
}

.otp-digit-input {
    width: 48px;
    height: 54px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a1516;
    background: #fdfaf6;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
}

.otp-digit-input:focus {
    border-color: #4a1516;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 21, 22, 0.15);
    transform: translateY(-2px);
}

.otp-digit-input.filled {
    border-color: #e5c158;
    background: #fffdf5;
}

/* Resend Timer & Meta */
.otp-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    color: #64748b;
    margin: 12px 0 20px;
}

.otp-resend-link {
    color: #4a1516;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}

.otp-resend-link:hover {
    text-decoration: underline;
}

.otp-resend-link.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

.change-phone-link {
    color: #64748b;
    font-size: 0.84rem;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.change-phone-link:hover {
    color: #4a1516;
}

/* SMS Notification Card (Realistic SMS Delivery - Manual Entry) */
.sms-notification-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.sms-notification-card .sms-icon {
    font-size: 1.25rem;
    color: #16a34a;
    margin-top: 2px;
}

.sms-notification-card .sms-body {
    flex: 1;
}

.sms-notification-card .sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.sms-notification-card .sms-sender {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.sms-notification-card .sms-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sms-notification-card .sms-text {
    font-size: 0.86rem;
    color: #334155;
    margin: 0;
    line-height: 1.45;
}

.sms-notification-card .sms-otp-highlight {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #4a1516;
    background: #ffffff;
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 4px 0;
}

/* Email OTP Notification Card */
.email-notification-card {
    background: #fdfaf7;
    border: 1px solid #f1e4d8;
    border-left: 4px solid var(--maroon);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}
.email-notification-card .email-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--maroon);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.email-notification-card .email-text {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
}
