/* app/static/css/client_components.css */

/* --- TOPBAR COMPONENTS --- */
.topbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.balance-pill {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50px;
    transition: all 0.2s;
}

.balance-pill:hover {
    border-color: #ffeaa7;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.btn-icon-circle:hover {
    background-color: #f1f2f6;
}

/* --- GIFTBOX & CHECKIN WIDGET --- */
.bg-gradient-success {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.checkin-scroll-container {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    /* Firefox */
}

.checkin-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

/* --- TASK CARD --- */
.bg-welcome-gradient {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.task-card-limit {
    opacity: 0.65;
    background-color: #f8f9fa;
    pointer-events: none;
}

.task-card-limit .btn {
    pointer-events: auto;
    /* Allow click on Disabled button */
    background-color: #e9ecef;
    color: #636e72;
    border-color: #ced4da;
}

/* --- ANIMATIONS UTILS --- */
.animate-pulse-slow {
    animation: pulse 2s infinite;
}