/* Clean Game Over Screen Styles - Unity UI Toolkit Compatible */

/* Main Overlay */
.gameover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.gameover-background {
    background-color: rgba(40, 20, 20, 0.95);
    border-width: 2px;
    border-color: rgb(160, 60, 60);
    border-radius: 15px;
    padding: 30px;
    width: 85%;
    max-width: 1000px;
    max-height: 90%;
    flex-direction: column;
    justify-content: flex-start;
}

/* Header */
.gameover-title {
    font-size: 42px;
    color: rgb(255, 80, 80);
    margin-bottom: 10px;
    -unity-text-align: center;
    -unity-font-style: bold;
}

.gameover-subtitle {
    font-size: 18px;
    color: rgb(200, 150, 150);
    margin-bottom: 20px;
    -unity-text-align: center;
    -unity-font-style: italic;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    flex-direction: row;
    justify-content: space-between;
}

.statistics-section {
    flex-grow: 1;
    background-color: rgba(50, 30, 30, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-right: 10px;
}

.assessment-section {
    width: 30%;
    background-color: rgba(60, 25, 25, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-left: 10px;
}

.section-title {
    font-size: 20px;
    color: rgb(255, 150, 150);
    margin-bottom: 15px;
    -unity-text-align: center;
    -unity-font-style: bold;
}

/* Statistics Categories */
.stats-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.category-title {
    font-size: 16px;
    color: rgb(255, 200, 100);
    margin-bottom: 10px;
    -unity-text-align: center;
    -unity-font-style: bold;
}

.stat-row {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 2px 0;
}

.stat-label {
    font-size: 14px;
    color: rgb(200, 180, 180);
    flex-grow: 1;
}

.stat-value {
    font-size: 14px;
    color: rgb(255, 255, 255);
    -unity-text-align: right;
    -unity-font-style: bold;
}

/* Assessment */
.assessment-title {
    font-size: 18px;
    color: rgb(255, 150, 150);
    margin-bottom: 15px;
    -unity-text-align: center;
    -unity-font-style: bold;
}

.assessment-text {
    font-size: 16px;
    color: rgb(220, 200, 200);
    margin-bottom: 20px;
    -unity-text-align: center;
    white-space: normal;
}

/* Footer Buttons */
.footer-section {
    align-items: center;
    margin-top: 20px;
}

.button-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.action-button {
    min-width: 140px;
    height: 45px;
    margin: 0 15px;
    border-radius: 22px;
    font-size: 16px;
    -unity-font-style: bold;
    cursor: pointer;
}

.restart-button {
    background-color: rgb(100, 60, 60);
    border-color: rgb(140, 80, 80);
    color: rgb(255, 255, 255);
}

.restart-button:hover {
    background-color: rgb(140, 80, 80);
    border-color: rgb(180, 100, 100);
}

.menu-button {
    background-color: rgb(60, 60, 100);
    border-color: rgb(80, 80, 140);
    color: rgb(255, 255, 255);
}

.menu-button:hover {
    background-color: rgb(80, 80, 140);
    border-color: rgb(100, 100, 180);
}
