/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Login Screen */
#login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-card h2 {
    margin-bottom: 24px;
    text-align: center;
}

/* Dashboard */
.dashboard-header {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.stat-card h3 {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 8px;
}

.stat-card span {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
}

.notification-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
}

.notification-card h3 {
    margin-bottom: 20px;
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

#login-btn, #submit-btn {
    width: 100%;
    background: #0071e3;
    color: white;
}

#login-btn:hover, #submit-btn:hover {
    background: #0077ed;
}

#logout-btn {
    background: #ff3b30;
    color: white;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alerts */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.alert.show {
    display: block;
}

.alert.success {
    background: #d1f4e0;
    color: #0d5f2a;
}

.alert.error {
    background: #ffe5e5;
    color: #d32f2f;
}