/* ════ RESET & BASE ════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.4s ease;
    position: relative;
    overflow-x: hidden;
}

/* ════ UTILS ════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding: 8px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.badge {
    background: var(--primary);
    color: var(--bg);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════ TOAST NOTIFICATION ════ */
#toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--card);
    color: var(--text);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 40000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
    white-space: nowrap;
    border: 1px solid var(--primary);
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}