/* INFSTExamTool Styles */
/* Brand Colors: Primary #366cb3, Secondary #ee7203 #fab200 #38bff0 */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    background: linear-gradient(135deg, #366cb3 0%, #38bff0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: white;
    text-align: center;
    font-size: 2.5em;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.download-section {
    text-align: center;
}

.download-section h2 {
    color: #366cb3;
    margin-bottom: 20px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
}

.download-section p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #366cb3 0%, #38bff0 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(54, 108, 179, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(54, 108, 179, 0.4);
}

.download-btn:active {
    transform: translateY(-1px);
}

.teacher-link {
    text-align: center;
    margin-top: 30px;
}

.teacher-link a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: opacity 0.3s;
}

.teacher-link a:hover {
    opacity: 0.8;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
}

/* Exception for checkbox/radio labels - don't make them block */
.form-group input[type="checkbox"] + label,
.form-group input[type="radio"] + label {
    display: inline;
    font-weight: 400;
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Urbanist', sans-serif;
    transition: border-color 0.3s;
}

/* Exception for checkboxes and radio buttons - don't make them 100% wide */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    padding: 0;
    margin: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #366cb3;
    box-shadow: 0 0 0 3px rgba(54, 108, 179, 0.1);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #366cb3 0%, #38bff0 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 108, 179, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-family: 'Urbanist', sans-serif;
}

table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #366cb3;
}

table tr:hover {
    background: #f8f9fa;
}

/* Status indicators */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
}

.status-not-started {
    background: #e9ecef;
    color: #6c757d;
}

.status-not-logged-in {
    background: #e9ecef;
    color: #6c757d;
}

.status-in-progress {
    background: #fff3cd;
    color: #856404;
}

.status-draft {
    background: #feedcc;
    color: #ee7203;
}

.status-draft-submitted {
    background: #feedcc;
    color: #ee7203;
}

.status-submitted {
    background: #d4edda;
    color: #155724;
}

.status-final-submitted {
    background: #d4edda;
    color: #155724;
}

.status-not-submitted {
    background: #f8d7da;
    color: #721c24;
}

/* Alert messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'Urbanist', sans-serif;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d7f1fb;
    color: #0c5460;
    border: 1px solid #38bff0;
}

.alert-warning {
    background: #feedcc;
    color: #ee7203;
    border: 1px solid #fab200;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* Accent elements */
h2, h3, h4 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    color: #366cb3;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .card {
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
