/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: #1e1e1e;
    color: #d4d4d4;
    min-height: 100vh;
    line-height: 1.6;
}

/* App container */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Main content */
.app__main {
    width: 100%;
    max-width: 600px;
}

/* Quiz container */
.quiz {
    background: #252526;
    border: 1px solid #3c3c3c;
    padding: 2.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: border-color 0.5s ease;
}

.quiz--success {
    border-color: #4ec9b0;
}

.quiz--error {
    border-color: #f48771;
}

.quiz__current {
    color: #ffffff;
    font-weight: 400;
}

.quiz__total {
    color: #d4d4d4;
}

/* Question */
.quiz__question {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz__question-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: #d4d4d4;
    line-height: 1.4;
}

/* Input container */
.quiz__input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quiz__input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: #1e1e1e;
    border: 1px solid #3c3c3c;
    color: #d4d4d4;
    font-size: 1rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    transition: all 0.2s ease;
}

.quiz__input:focus {
    outline: none;
    border-color: #007acc;
    background: #1e1e1e;
}

.quiz__input::placeholder {
    color: #858585;
}

.quiz__submit {
    padding: 1rem 2rem;
    background: #007acc;
    border: 1px solid #007acc;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quiz__submit:hover {
    background: #005a9e;
    border-color: #005a9e;
}

.quiz__submit:active {
    background: #004578;
}


/* Responsive */
@media (max-width: 768px) {
    .app {
        padding: 1rem;
    }

    .app__title {
        font-size: 2.5rem;
    }

    .quiz {
        padding: 2rem 1.5rem;
    }

    .quiz__input-container {
        flex-direction: column;
    }

    .quiz__submit {
        padding: 1rem;
    }
}