
/* Запрет выделения текста */
* {
    margin: 0;
    padding: 0;
	border-radius: 0px;
}

body {user-select:none;-moz-user-select: none;
-khtml-user-select: none; 
-webkit-touch-callout:none;
    -webkit-user-select:none;
    -ms-user-select:none;outline:0;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
touch-action: none;
height: 100vh;
overflow: hidden;

    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 10px;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    height: calc(100vh - 20px);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: #333;
    font-size: min(1.8em, 4vw);
    margin: 8px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hidden {
    display: none !important;
}

.game-setup, .game-area {
    text-align: center;
    margin: 4px 0;
    flex-shrink: 0;
}

.game-setup {
background: 
        linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
        url('img/throne-room-bg.jpg') center/cover no-repeat;
}


.game-area {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
background: 
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('img/throne-room-bg.jpg') center/cover no-repeat;
	
}

button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 8px 16px;
    font-size: min(14px, 3vw);
    margin: 4px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

button:hover {
    transform: translateY(-1px);
}

select {
    padding: 8px;
    font-size: min(14px, 3vw);
    margin: 0 5px;
    border-radius: 8px;
    border: 2px solid #667eea;
}

.theme-display {
    font-size: min(18px, 4vw);
    font-weight: bold;
    margin: 8px 0;
    color: #d4af37;
    line-height: 1.2;
}

.central-word {
    margin: 10px 0;
    padding: 8px;
    background: rgba(245, 245, 245, 0.8);
    border-radius: 8px;
    border: 2px solid #ddd;
    flex-shrink: 0;
}

.word {
    font-size: min(24px, 5vw);
    letter-spacing: min(6px, 1.5vw);
    font-weight: bold;
    color: #333;
    min-height: min(30px, 6vw);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

.throne-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    background: linear-gradient(135deg, #f5f5dc, #e6d9b8);
    border-radius: 12px;
    border: 3px solid #d4af37;
    flex-shrink: 0;
}

.throne {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.throne-image {
    width: min(80px, 15vw);
    height: min(100px, 18vw);
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.chest {
    flex: 1;
    text-align: center;
    padding: 6px;
    margin: 0 8px;
    background: transparent;
}

.chest-image {
    width: min(50px, 10vw);
    height: min(40px, 8vw);
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.chest-label {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: min(12px, 2.5vw);
    color: #333;
    line-height: 1.2;
}

.players {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
    gap: 10px;
    flex: 1;
    min-height: 60px;
}

.player {
    border: 2px solid #ddd;
    padding: 2px;
    border-radius: 10px;
    width: 48%;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.player.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.king-appearance {
    position: relative;
    font-size: min(30px, 6vw);
    text-align: center;
    margin: 10px 0;
    min-height: min(60px, 12vw);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.king-base {
    font-size: min(40px, 8vw);
    position: relative;
    z-index: 1;
    line-height: 1;
	margin-top: 15px;
}

.attributes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: min(4px, 1vw);
    flex-wrap: wrap;
    align-items: center;
}

.attribute {
    font-size: min(16px, 3.5vw);
    transition: all 0.5s ease;
    line-height: 1;
}

.final-state {
    font-size: min(32px, 6vw);
}

.game-info {
    margin: 10px 0;
    padding: 8px;
    background: rgba(245, 245, 245, 0.8);
    border-radius: 8px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

#currentPlayer {
    font-size: min(16px, 3.5vw);
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.message {
    font-size: min(16px, 3.5vw);
    font-weight: bold;
    margin: 6px 0;
    min-height: min(20px, 4vw);
    color: #d4af37;
    line-height: 1.2;
}


.word-input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-shrink: 0;
}

#wordInput {
    padding: 6px;
    font-size: min(14px, 3vw);
    border: 2px solid #667eea;
    border-radius: 6px;
    width: min(150px, 30vw);
    text-align: center;
    box-sizing: border-box;
}

#submitWordBtn, #cancelWordBtn {
    width: min(35px, 7vw);
    height: min(35px, 7vw);
    border-radius: 50%;
    font-size: min(14px, 3vw);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: min(4px, 1vw);
    margin: 10px 0;
    padding: 8px;
    background: rgba(245, 245, 245, 0.8);
    border-radius: 8px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.letter {
    width: min(30px, 6vw);
    height: min(30px, 6vw);
    font-size: min(14px, 3vw);
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.letter:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}



.game-controls {
    text-align: center;
    margin: 10px 0;
    min-height: 40px; /* Фиксированная высота чтобы не сдвигало контент */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
}

#guessWordBtn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    font-size: min(14px, 3vw);
    padding: 8px 16px;
    transition: all 0.3s ease;
}

#restartGame {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    font-size: min(14px, 3vw);
    padding: 8px 16px;
    flex-shrink: 0;
}

.word-input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    animation: slideDown 0.3s ease;
    height: 100%;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}







/* Анимация перемещения атрибута */
.attribute-moving {
    position: fixed;
    z-index: 1000;
    font-size: min(16px, 3.5vw);
    pointer-events: none;
    animation: moveToChest 0.8s ease-in-out forwards;
}

@keyframes moveToChest {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(var(--target-x), var(--target-y)) rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--target-x), var(--target-y)) rotate(360deg) scale(0);
        opacity: 0;
    }
}

.attributes-list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    gap: min(2px, 0.5vw);
    justify-content: center;
    align-items: center;
    width: min(40px, 8vw);
}

/* БОЛЬШИЕ ЭКРАНЫ - увеличенные размеры */
@media (min-width: 1200px) and (min-height: 800px) {
    .container {
        padding: 20px;
        max-width: 1200px;
        height: calc(100vh - 40px);
    }
    
    body {
        padding: 20px;
    }
    
    .throne-image {
        width: 120px;
        height: 150px;
    }
    
    .chest-image {
        width: 80px;
        height: 60px;
    }
    
    .king-base {
        font-size: 60px;
    }
    
    .attribute {
        font-size: 24px;
    }
    
    .king-appearance {
        min-height: 80px;
    }
    
    .letter {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .word {
        font-size: 32px;
        letter-spacing: 8px;
        min-height: 40px;
    }
    
    .theme-display {
        font-size: 24px;
    }
    
    #currentPlayer, .message {
        font-size: 20px;
    }
    
    .throne-area {
        padding: 20px;
        margin: 15px 0;
    }
    
    .players {
        margin: 2px 0;
        gap: 5px;
    }
    
    .player {
        padding: 2px;
    }
}

/* ОЧЕНЬ БОЛЬШИЕ ЭКРАНЫ */
@media (min-width: 1600px) and (min-height: 1000px) {
    .throne-image {
        width: 150px;
        height: 180px;
    }
    
    .chest-image {
        width: 100px;
        height: 75px;
    }
    
    .king-base {
        font-size: 70px;
    }
    
    .attribute {
        font-size: 28px;
    }
    
    .king-appearance {
        min-height: 100px;
    }
    
    .letter {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .word {
        font-size: 36px;
        letter-spacing: 10px;
        min-height: 45px;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .container {
        padding: 2px;
        height: calc(100vh - 16px);
    }
	
    body {
        padding: 2px;
    }
    
    .throne-area {
        padding: 2px;
        margin: 2px 0;
    }
    
    .players {
        margin: 2px 0;
        gap: 2px;
    }
    
    .player {
        padding: 2px;
    }
    
    .central-word {
        margin: 2px 0;
        padding: 6px;
    }
    
    .game-info {
        margin: 2px 0;
        padding: 2px;
    }
    
    .keyboard {
        margin: 2px 0;
        padding: 2px;
    }
}

/* Адаптация для очень маленькой высоты */
@media (max-height: 720px) {
    .throne-area {
        margin: 6px 0;
        padding: 6px;
    }
    
    .players {
        margin: 6px 0;
    }
    
    .central-word {
        margin: 6px 0;
    }
    
    .game-info {
        margin: 6px 0;
    }
    
    .keyboard {
        margin: 6px 0;
        padding: 4px;
        gap: 2px;
    }
    
    .letter {
        width: min(25px, 5vw);
        height: min(25px, 5vw);
        font-size: min(12px, 2.5vw);
    }
    
    .king-appearance {
        margin: 6px 0;
        min-height: min(50px, 10vw);
    }
}

/* Адаптация для очень маленькой высоты */
@media (max-height: 640px) {
	
    .container {
        padding: 2px;
        height: calc(100vh - 16px);
    }
	
    body {
        padding: 2px;
    }
    .throne-area {
        margin: 2px 0;
        padding: 2px;
    }
    
    .players {
        margin: 2px 0;
    min-height: 70px;
    }
    
    .central-word {
        margin: 2px 0;
    }
    
    .game-info {
        margin: 2px 0;
    }
    
    .keyboard {
        margin: 2px 0;
        padding: 2px;
        gap: 2px;
    }
    
    .letter {
        width: min(20px, 5vw);
        height: min(20px, 5vw);
        font-size: min(14px, 2.5vw);
    }
    
    .king-appearance {
        margin: 2px 0;
        min-height: min(50px, 10vw);
    }
	
    .keyboard {
        margin: 2px 0;
        padding: 2px;
    }
}



/* Гарантия что ничего не выходит за пределы */
* {
    box-sizing: border-box;
}

.game-setup .mode-selection,
.game-setup .theme-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* БОЛЬШИЕ ЭКРАНЫ - увеличенные размеры */
@media (min-width: 1200px) and (min-height: 800px) {
    .game-controls {
        min-height: 80px;
    }
    
    #guessWordBtn, #restartGame {
        font-size: 18px;
        padding: 12px 24px;
    }
    
    #wordInput {
        font-size: 18px;
        padding: 10px;
        width: 200px;
    }
    
    #submitWordBtn, #cancelWordBtn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ОЧЕНЬ БОЛЬШИЕ ЭКРАНЫ */
@media (min-width: 1600px) and (min-height: 1000px) {
    .game-controls {
        min-height: 80px;
    }
    
    #guessWordBtn, #restartGame {
        font-size: 20px;
        padding: 14px 28px;
    }
    
    #wordInput {
        font-size: 20px;
        padding: 12px;
        width: 250px;
    }
    
    #submitWordBtn, #cancelWordBtn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}


.letter.correct {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.letter.incorrect {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
}

.letter.correct-other {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    opacity: 0.7;
}

.letter.incorrect-other {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    opacity: 0.7;
}

/* Убираем скролл и делаем жесткую адаптацию */
.game-setup {
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-screen {
    max-width: 500px;
    width: 100%;
    padding: 20px;
    transform-origin: center;
}

.setup-section {
    margin-bottom: 30px;
}

.mode-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mode-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: white;
}

.mode-option.selected {
    border-color: #4CAF50;
    background: #f0fff0;
}

.mode-icon {
    font-size: 24px;
    margin-right: 15px;
}

.start-button {
    background: #4CAF50;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
}

/* Убираем скролл и делаем жесткую адаптацию */
.game-setup {
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-screen {
    max-width: 500px;
    width: 100%;
    padding: 20px;
    transform-origin: center;
}

/* Жесткая адаптация по высоте */
@media (max-height: 800px) {
    .setup-screen {
        transform: scale(0.9);
    }
}

@media (max-height: 700px) {
    .setup-screen {
        transform: scale(0.8);
        padding: 15px;
    }
    
    .setup-section {
        margin-bottom: 15px;
    }
    
    .mode-option {
        padding: 12px;
    }
}

@media (max-height: 600px) {
    .setup-screen {
        transform: scale(0.7);
        padding: 10px;
    }
    
    .setup-section {
        margin-bottom: 10px;
    }
    
    .mode-option {
        padding: 8px;
    }
    
    .mode-icon {
        font-size: 18px;
        margin-right: 8px;
    }
    
    .mode-text {
        font-size: 12px;
    }
}

@media (max-height: 500px) {
    .setup-screen {
        transform: scale(0.6);
    }
    
    .setup-screen h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .setup-section h3 {
        font-size: 12px;
    }
}

@media (max-height: 400px) {
    .setup-screen {
        transform: scale(0.5);
    }
}

/* Убираем все возможные скроллы */
body, .container, .game-setup {
    overflow: hidden;
}

.letter.backspace {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.letter.backspace:hover {
    background: linear-gradient(135deg, #f57c00, #ff9800);
}


/* Кнопка выбора темы */
.theme-select-btn {
    width: 100%;
	color: #000000;
    max-width: 300px;
    padding: 12px 15px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.theme-select-btn:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

/* Модальное окно */
.theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-modal-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.theme-modal-content h3 {
    margin: 0 0 15px 0;
    text-align: center;
    color: #333;
}

.close-theme-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-theme-btn:hover {
    background: #f0f0f0;
}

.theme-list {
    max-height: 400px;
    overflow-y: hidden; /* Убираем нативную прокрутку */
    position: relative;
    padding-right: 0;
}

/* Убираем нативные полосы прокрутки */
.theme-list::-webkit-scrollbar {
    display: none;
}

.theme-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.theme-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.theme-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.theme-option {
    padding: 12px 15px;
    margin: 5px 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 14px;
}

.theme-option:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.hidden {
    display: none !important;
}





/* Стили для изображений атрибутов */
.attribute-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.king-simbol {
    width: 40px;
    height: 40px;
}

.final-state .attribute-image {
    width: 35px;
    height: 35px;
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
    .attribute-image {
        width: 20px;
        height: 20px;
    }
    
    .king-simbol {
        width: 30px;
        height: 30px;
    }
    
    .final-state .attribute-image {
        width: 25px;
        height: 25px;
    }
}

/* Адаптация для больших экранов */
@media (min-width: 1200px) {
    .attribute-image {
        width: 40px;
        height: 40px;
    }
    
    .king-simbol {
        width: 50px;
        height: 50px;
    }
    
    .final-state .attribute-image {
        width: 45px;
        height: 45px;
    }
}

.chest {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.king-simbol-container {
    margin-bottom: 5px;
}

.king-simbol {
    width: 40px;
    height: 40px;
}

/* Для мобильных */
@media (max-width: 480px) {
    .king-simbol {
        width: 30px;
        height: 30px;
    }
}


/* БОЛЬШИЕ ЭКРАНЫ - увеличенные атрибуты */
@media (min-width: 1200px) and (min-height: 800px) {
    .attribute-image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .king-simbol {
        width: 60px !important;
        height: 60px !important;
    }
    
    .attributes {
        gap: 8px !important;
        margin-top: 10px;
    }
    
    .king-appearance {
        min-height: 80px;
    }
}

/* ОЧЕНЬ БОЛЬШИЕ ЭКРАНЫ */
@media (min-width: 1600px) and (min-height: 1000px) {
    .attribute-image {
        width: 60px !important;
        height: 60px !important;
    }
    
    .king-simbol {
        width: 70px !important;
        height: 70px !important;
    }
    
    .attributes {
        gap: 10px !important;
        margin-top: 15px;
    }
    
    .king-appearance {
        min-height: 100px;
    }
}

/* СУПЕР БОЛЬШИЕ ЭКРАНЫ */
@media (min-width: 2000px) and (min-height: 1200px) {
    .attribute-image {
        width: 70px !important;
        height: 70px !important;
    }
    
    .king-simbol {
        width: 80px !important;
        height: 80px !important;
    }
    
    .attributes {
        gap: 12px !important;
        margin-top: 20px;
    }
    
    .king-appearance {
        min-height: 120px;
    }
}

.missing-letter {
    color: #dc2626;
    font-weight: bold;
    background: rgba(220, 38, 38, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid #dc2626;
}

.guessed-letter {
    color: #16a34a;
    font-weight: bold;
}



/* Круглая кнопка меню */
.menu-button {
    position: fixed;
    top: 3px;
    left: 3px;
    z-index: 10000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: #667eea;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.menu-button:hover .menu-icon span {
    background: white;
}

/* Иконка трёх полосок */
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.menu-icon span {
    display: block;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
    width: 20px;
}

.menu-icon span:nth-child(2) {
    width: 16px;
}

.menu-icon span:nth-child(3) {
    width: 12px;
}

/* Анимация при наведении */
.menu-button:hover .menu-icon span:nth-child(1) {
    width: 20px;
}

.menu-button:hover .menu-icon span:nth-child(2) {
    width: 20px;
}

.menu-button:hover .menu-icon span:nth-child(3) {
    width: 20px;
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
    .menu-button {
        width: 44px;
        height: 44px;
        top: 3px;
        left: 3px;
    }
    
    .menu-icon {
        width: 18px;
        height: 14px;
        gap: 3px;
    }
    
    .menu-icon span {
        height: 2px;
    }
}




/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}