/* STATS PAGE */
/* Cards container horizontal */
.cards-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

/* Individual card styling */
.stat-card {
    flex: 0 0 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

/* Card header */
.stat-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Card body*/
.stat-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}

.dropdown-wrapper {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 13px;
}

.styled-dropdown {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

/* Hover & focus effect */
.styled-dropdown:hover {
    border-color: #888;
}

.styled-dropdown:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 3px rgba(74, 144, 226, 0.4);
}

/* container */
.user-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    margin-bottom: 15px;
}

/* label */
.user-box label {
    display: flex;
    align-items: center;
    gap: 6px;

    font-weight: 600;
    color: var(--text);
}

/* input */
.user-box input {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-color: rgb(0, 255, 0);
    outline: none;
    transition: 0.2s ease;
    min-width: 160px;
}

.user-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 242, 122, 0.15);
}

/* button */
.user-box button {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;

    background: linear-gradient(135deg, var(--accent), #22c55e);
    color: #000;

    cursor: pointer;
    font-weight: 700;

    transition: 0.2s ease;
}

.user-box button:hover {
    transform: translateY(-2px) scale(1.05);
}

/* welcome text */
.welcome-user {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--accent);
}

.wave {
  display: inline-block;
  animation: waveAnim 1.5s infinite;
  color: yellow;
}

@keyframes waveAnim {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}
/* BACKDROP */
.reset-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* BOX */
.reset-modal-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: white;
    animation: reset-pop 0.25s ease;
}

/* BUTTON AREA */
.reset-modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

/* BUTTONS */
.reset-modal-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    background: var(--accent);
    color: var(--card);
    transition: 0.2s;
}

.reset-modal-btn:hover {
    transform: scale(1.05);
}

/* DANGER BUTTON */
.reset-modal-btn.danger {
    background: #ef4444;
    color: white;
}

/* ANIMATION */
@keyframes reset-pop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}