* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-box {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #ff4444;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 20px;
}

.auth-box h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    background: #000000;
    border: 1px solid #1a1a1a;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #2a2a2a;
}

.input-group input::placeholder {
    color: #444;
}

.btn-primary {
    width: 100%;
    background: #ff4444;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #ff5555;
}

.btn-primary:disabled {
    background: #333;
    cursor: not-allowed;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 13px;
}

.auth-footer a {
    color: #ff4444;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: #000000;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0a0a0a;
}

.nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: transparent;
    color: #666;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.nav-btn.active {
    background: #ff4444;
    color: white;
}

.nav-btn:hover:not(.active) {
    color: #888;
}

.nav-btn .icon {
    margin-right: 8px;
}

.dashboard-content {
    flex: 1;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.welcome-section {
    margin-bottom: 40px;
}

.welcome-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 25px;
}

.stat-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.action-section {
    margin-bottom: 40px;
}

.action-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    color: #ccc;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.action-btn:hover {
    background: #111;
    border-color: #2a2a2a;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn .icon {
    font-size: 24px;
}

.update-section {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 30px;
}

.update-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Messages */
.error-message,
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s;
    pointer-events: none;
    max-width: 400px;
    z-index: 1000;
}

.success-message {
    background: #44ff44;
    color: #000;
}

.error-message.show,
.success-message.show {
    opacity: 1;
    transform: translateY(0);
}
