

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(160deg, #1f1f2e, #2c2c3f);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 12px;
    overflow-y: auto;
    box-sizing: border-box;
    justify-content: space-evenly;
}

h1, h2, h3 {
    text-align: center;
    color: #ffd369;
    font-weight: 600;
    margin: 0 0 12px 0;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1rem;
    color: #f0f0f0;
}

.quiz-card {
    background: rgba(45, 45, 65, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 20px;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeIn 0.4s ease-in-out;
}

.quiz-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.quiz-image {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    margin: 12px 0;
    background: #1e1e2e;
}

.start-button,
button[type="submit"],
.button {
    background-color: #ffd369;
    color: #1f1f2f;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: 10px;
}

.start-button:hover,
button[type="submit"]:hover,
.button:hover {
    background-color: #ffc748;
}

.table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
}

input[type="text"],
input[type="file"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #444;
    background-color: #2e2e3f;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="text"]::placeholder,
textarea::placeholder {
    color: #aaa;
}

.remove-option {
    background-color: #d9534f;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.remove-option:hover {
    background-color: #c9302c;
}

.start,
.qviz {
    background: rgba(45, 45, 65, 0.95);
    color: #f1f1f1;
    max-width: 600px;
    width: 100%;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 20px auto;
    box-sizing: border-box;
}

.qviz {
    display: none;
}

.qviz-title {
    margin-bottom: 12px;
    color: #ffd369;
    font-size: 1.4rem;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.quiz-card.list-style {
    max-width: 360px;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(45, 45, 65, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    gap: 12px;
    animation: fadeIn 0.4s ease-in-out;
}

.button.full-width {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    background-color: #ffd369;
    color: #1f1f2f;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button.full-width:hover {
    background-color: #ffc748;
}
