/* ========================================
   COMMON STYLES - Used across all pages
   ======================================== */

/* --- 1. RESET & BASICS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- 2. LAYOUT --- */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.card {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e1e4e8;
}

.content-body {
    padding: 30px;
}

/* --- 3. HEADER --- */
header {
    background-color: #4f46e5;
    padding: 30px;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

header p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- 4. FOOTER --- */
footer {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 20px;
    margin-top: auto;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #4f46e5;
}

@media (min-width: 600px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-links {
        margin-top: 0;
    }
}

/* --- 5. COMMON UTILITIES --- */
.hidden {
    display: none !important;
}

section {
    margin-bottom: 30px;
}

h2 {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
