/* Base styles and dark theme */
:root {
    --bg-primary: #000000;
    --bg-secondary: #121212;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-primary: #00ff95;
    --accent-secondary: #7000ff;
    --card-bg: #1e1e1e;
    --error: #ff4444;
    --success: #00ff95;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}

h1, h2, h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

button, .nav-button {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:hover, .nav-button:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.nav-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
}

/* Card styles */
.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* Progress bar styles */
.progress-container {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: var(--bg-secondary);
    position: relative;
}

.progress {
    height: 100%;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-label {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

/* Notification styles */
.notification {
    position: absolute;
    background: rgba(30, 30, 30, 0.95);
    color: var(--text-primary);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
    border: 1px solid var(--accent-primary);
    max-width: 400px;
    font-size: 16px;
    line-height: 1.6;
}

.notification-content {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.notification-ok-btn {
    display: block;
    margin-left: auto;
    padding: 8px 20px;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.notification-ok-btn:hover {
    background: var(--accent-secondary);
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    button, .nav-button {
        width: 100%;
        margin-top: 0.5rem;
    }

    .notification {
        max-width: 90%;
        margin: 0 20px;
    }
}
