body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #231F20;
    font-family: Arial, sans-serif;
}

#unity-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
    display: block;
}

#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #231F20;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    z-index: 1000;
}

.dropdown-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 250px;
    z-index: 1001;
    font-family: Arial, sans-serif;
}

.dropdown-header {
    background-color: #3498db;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 0;
    background-color: white;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.arrow {
    transition: transform 0.3s ease;
}

.arrow.open {
    transform: rotate(180deg);
}

/* Стили для прогресса генерации PDF */
.pdf-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 30px 40px;
    border-radius: 10px;
    z-index: 9999;
    display: none;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.pdf-progress h3 {
    margin: 0 0 15px 0;
    color: #3498db;
}

.pdf-progress .progress-text {
    font-size: 14px;
    color: #ecf0f1;
}