/* global.css */
:root {
    --primary: #0047ab;
    --secondary: #00d2ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.9);
    --text: #1a2a4e;
    --slate: #64748b;
    --success: #10b981;
    --danger: #f43f5e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--light);
    background: linear-gradient(135deg, #f0f4ff 0%, #e6e9f0 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

nav a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Common Footer */
footer {
    text-align: center;
    padding: 4rem 5% 2rem;
    color: var(--slate);
    font-size: 0.9rem;
}

.credits {
    color: var(--dark);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Common Utilities */
.btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 71, 171, 0.4);
}

.message-box {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-weight: 600;
    display: none;
}

.message-box.success {
    background: #dcfce7;
    color: #166534;
    display: block;
}

.message-box.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}
