/* General Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    box-sizing: border-box;
}

h2, h3 {
    color: #1a237e;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 700;
}

a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}
a:hover {
    text-decoration: underline;
}

label {
    display: block;
    margin: 12px 0 4px 0;
    color: #333;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b0bec5;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
    background: #f5f7fa;
    transition: border 0.2s;
    box-sizing: border-box;
    display: block;
}
input:focus, select:focus, textarea:focus {
    border-color: #1976d2;
    outline: none;
}

input[type="time"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b0bec5;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
    background: #f5f7fa;
    transition: border 0.2s;
    box-sizing: border-box;
    display: block;
    height: auto;
}
input[type="time"]:focus {
    border-color: #1976d2;
    outline: none;
    background-color: #e3f2fd;
}

button {
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    transition: background 0.2s;
}
button:hover {
    background: linear-gradient(90deg, #1565c0 0%, #1976d2 100%);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
}
th, td {
    padding: 10px 8px;
    text-align: left;
}
th {
    background: #1976d2;
    color: #fff;
    font-weight: 600;
}
tr:nth-child(even) {
    background: #e3f2fd;
}
tr:hover {
    background: #bbdefb;
}

/* Messages */
.msg {
    background: #e3fcec;
    color: #256029;
    border-left: 5px solid #43a047;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.error {
    background: #ffebee;
    color: #c62828;
    border-left: 5px solid #c62828;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.qualified {
    background: #e3fcec;
    color: #256029;
    border-left: 5px solid #43a047;
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: 18px;
}
.not-qualified {
    background: #ffebee;
    color: #c62828;
    border-left: 5px solid #c62828;
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: 18px;
}

#timer-box {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
    padding: 8px 0;
    border-radius: 8px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        padding: 18px 4vw;
    }
    table, th, td {
        font-size: 0.95rem;
    }
    h2, h3 {
        font-size: 1.2rem;
    }
    button {
        width: 100%;
        padding: 12px 0;
    }
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        font-size: 1rem;
        padding: 10px 10px;
        margin-bottom: 14px;
    }
}

.site-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1976d2;
    letter-spacing: 2px;
    margin-bottom: 24px;
    margin-top: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
} 