/**
 * Najibul Balance - World-Class Dopamine Gamification UI Styles
 */
.nbs-gamify-streak-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    color: #f8fafc;
    font-family: system-ui, -apple-system, sans-serif;
}

.nbs-streak-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.nbs-streak-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nbs-flame-icon {
    font-size: 28px;
    animation: flamePulse 1.5s infinite alternate ease-in-out;
}

@keyframes flamePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 4px #f59e0b); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 12px #ef4444); }
}

.nbs-streak-title h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
}

.nbs-streak-title p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #cbd5e1;
}

.nbs-btn-claim-streak {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nbs-btn-claim-streak:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.nbs-badge-claimed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.nbs-streak-days-track {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.nbs-day-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 44px;
}

.nbs-day-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.nbs-day-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #64748b;
    transition: all 0.2s ease;
}

.nbs-day-node.completed .nbs-day-box {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-color: #34d399;
}

.nbs-day-node.active-today .nbs-day-box {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: #ffffff;
    border-color: #fbbf24;
    animation: activeGlow 1.2s infinite alternate;
}

@keyframes activeGlow {
    0% { box-shadow: 0 0 5px #f59e0b; }
    100% { box-shadow: 0 0 15px #f59e0b, 0 0 25px rgba(245, 158, 11, 0.5); }
}

/* Piggy Card */
.nbs-gamify-piggy-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    margin: 16px 0;
    color: #ffffff;
}

.nbs-piggy-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nbs-piggy-avatar {
    font-size: 36px;
    background: rgba(245, 158, 11, 0.15);
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nbs-piggy-info {
    flex: 1;
}

.nbs-piggy-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.nbs-piggy-balance {
    margin: 2px 0 6px;
    font-size: 18px;
    font-weight: 900;
    color: #f59e0b;
}

.nbs-piggy-progress-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    max-width: 220px;
}

.nbs-piggy-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #f59e0b);
    transition: width 0.4s ease;
}

.nbs-btn-smash-piggy {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 9px 16px;
    font-weight: 800;
    cursor: pointer;
    font-size: 13.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.nbs-btn-smash-piggy:disabled {
    background: #334155;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Toast Container */
.nbs-dopamine-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.nbs-dopamine-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    border: 1px solid #10b981;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.3);
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 18px;
    max-width: 340px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nbs-dopamine-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.nbs-toast-icon {
    font-size: 24px;
}

.nbs-toast-body strong {
    font-size: 14px;
    display: block;
    color: #f59e0b;
}

.nbs-toast-body p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #cbd5e1;
}
