﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.testbox {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    width: 100%;
}

.banner {
    height: 50px;
    margin-bottom: 20px;
}

.top-info {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.question, .item {
    margin-bottom: 20px;
}

    .question p, .item p {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        font-size: 14px;
    }

.required {
    color: red;
    margin-left: 3px;
}

select, textarea, input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

    select:focus, textarea:focus {
        outline: none;
        border-color: #0066cc;
        box-shadow: 0 0 3px rgba(0, 102, 204, 0.3);
    }

textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-block {
    text-align: center;
    margin-top: 25px;
}

    .btn-block button {
        background-color: #0066cc;
        color: white;
        border: none;
        padding: 12px 40px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .btn-block button:hover {
            background-color: #0052a3;
        }

h2 {
    font-size: 18px;
}
