* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    padding: 20px;
}

.container {
    text-align: center;
    background: white;

    padding: 50px;
    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    width: 90%;
    max-width: 500px;
}

.hidden {
    display: none !important;
}

h1 {
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 25px;
    color: #666;
}

button {
    padding: 12px 25px;
    margin: 4px;

    background-color: #4f46e5;
    color: white;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #3730a3;
}

.secondary-btn {
    background-color: #64748b;
}

.secondary-btn:hover {
    background-color: #475569;
}

.danger-btn {
    background-color: #dc2626;
}

.danger-btn:hover {
    background-color: #b91c1c;
}

.bottom-buttons {
    margin-top: 25px;
}

.mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mode-buttons button {
    width: 100%;
    margin: 0;
}

.schedule-box {
    border: 2px dashed #aaa;
    border-radius: 10px;

    padding: 40px;
    margin-bottom: 20px;

    color: #888;
}

.question-box {
    padding: 25px;
    margin-bottom: 20px;

    background-color: #f8fafc;
    border-radius: 10px;
}

.answers {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 15px;

    margin-top: 20px;
}

.answers label {
    cursor: pointer;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 20px;
}

input[type="number"],
input[type="text"] {
    padding: 12px;

    border: 1px solid #ccc;
    border-radius: 8px;

    font-size: 16px;
}

.timer {
    font-size: 48px;
    font-weight: bold;

    margin: 30px 0;

    color: #4f46e5;
}

.simulation-text {
    font-size: 13px;
    color: #999;
}

#materialList {
    list-style: none;
    text-align: left;

    margin: 20px 0;
}

#materialList li {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px;
    margin-bottom: 10px;

    background: #f8fafc;
    border-radius: 8px;
}

#materialList button {
    background: #dc2626;
    padding: 6px 12px;
}

@media (max-width: 480px) {
    .container {
        padding: 25px;
        width: 100%;
    }

    .mode-buttons {
        grid-template-columns: 1fr;
    }
}

.file-upload {
    margin: 20px 0;
    padding: 20px;

    border: 2px dashed #aaa;
    border-radius: 10px;
}

.file-upload label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
}

.file-upload input {
    width: 100%;
    margin-bottom: 15px;
}

.file-upload button {
    width: 100%;
}