@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@700&family=Poppins:wght@400;500;600&display=swap');

:root {
    --bg: #111111;
    --outline: rgba(255, 255, 255, 0.2);
    --primary: #2f4fdb;
    --text-secondary: #868686;
    --text-primary: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--bg);
    width: 100%;
}

body {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 140px; 
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    opacity: 0.5;
    transition: opacity 0.2s;
    animation: navBtnsFadeIn 0.5s;
    z-index: 100;
    white-space: nowrap;
}

.nav-btn:hover { opacity: 1; }

#prev_btn { left: 20px; display: none; }
#next_btn { right: 20px; display: none; }

.main-container {
    text-align: center;
    width: 100%;
    max-width: 800px;
    position: relative;
    margin: 0 auto;
}

.content {
    display: none;
    text-align: center;
    color: #eee;
    font-family: 'Poppins', sans-serif;
    padding: 8px 16px;
}

.content.active {
    display: block;
    animation: fadeIn 0.5s;
}

.btn {
    all: unset;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid var(--outline);
    transition: 0.15s;
}

.btn:hover { opacity: 0.75; }
.btn.primary { background-color: var(--primary); }
.txt.primary { color: var(--text-primary); }
.txt.secondary { color: var(--text-secondary); }

.status { margin-bottom: 1rem; font-size: 0.9rem; color: #666; }
.error { color: #d9534f; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes navBtnsFadeIn {
    from { opacity: 0; }
    to { opacity: 0.5; }
}

@media (max-width: 1024px) {
    body {
        padding: 0 80px;
    }
    #prev_btn { left: 10px; }
    #next_btn { right: 10px; }
}

@media (max-width: 768px) {
    body {
        padding: 40px 20px 0 20px;
        align-items: flex-start;
    }
    
    .nav-btn {
        position: fixed;
        top: auto;
        bottom: 20px;
        transform: none;
        width: calc(50% - 30px);
        text-align: center;
        padding: 12px;
        font-size: 16px;
    }
    
    #prev_btn { left: 20px; }
    #next_btn { right: 20px; }

    .main-container {
        padding-bottom: 80px;
    }
}

/* ─── Notifications ──────────────────────────────────────────── */
.notification {
    background-color: #333;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification.show { opacity: 1; transform: translateY(0); }
.notification .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
}
.notification .close-btn:hover { color: #999; }