.screen-container {
    width: 80%;
    max-width: 400px;
    height: 200px;
    background-color: #333;
    border-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 10px;
}
.play-icon {
    font-size: 3rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 1;
}

.play-icon:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.4);
}
.progress-bar {
    width: 90%;
    height: 8px;
    background: #888888;
    border-radius: 5px;
    overflow: hidden;
    position: absolute;
    bottom: 15px;
    left: 5%;
}

.progress-fill {
    height: 100%;
    background: #ffffff;
    width: 0%;
    transition: width 2s linear;
    border-radius: 5px;
}
.phase-container {
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.phase {
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(0.95);
    display: none;
    text-align: center;
    height: 100%;
}

.show-phase {
    display: block;
    opacity: 1;
    transform: scale(1.02);
}
.question-simulation {
    width: 100%;
    display: grid;
    gap: 15px;
    padding: 20px;
}

.question-group {
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.4s ease, transform 0.3s ease;
    transform: scale(1);
}
.question-main {
    height: 15px;
    width: calc(200px + (100px * var(--line-scale, 1)));
    background: #333333;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: transform 0.4s ease;
}

.choice-line {
    height: 10px;
    width: calc(150px + (150px * var(--line-scale, 1)));
    background: #e0e7ef;
    border-radius: 5px;
    margin-top: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.choice-line:hover {
    background-color: #d1d1d1;
    transform: scale(1.05);
}
.correct {
    background-color: #17DE3F !important;
    box-shadow: 0 0 15px rgba(23, 222, 63, 0.4);
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.incorrect {
    background-color: #EC3C3C !important;
    box-shadow: 0 0 15px rgba(236, 60, 60, 0.4);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.result-chart {
    max-width: 300px;
    margin: auto;
    border-radius: 10px;
    box-shadow: none;
    padding: 10px;
}

.result-text {
    font-size: 1.25rem;
    color: #f5f5f5;
    margin: 1rem 0;
    transition: transform 0.4s ease, color 0.4s ease, opacity 1s ease;
    opacity: 0;
}

.show-phase .result-text {
    opacity: 1;
}

.result-text:hover {
    color: #17DE3F;
    transform: scale(1.05);
}
.chart-label {
    color: #f5f5f5 !important;
}
