/* Модальное окно подтверждения сдачи */
.surrender-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.surrender-modal.visible {
    opacity: 1;
}

.surrender-modal-content {
    background: linear-gradient(135deg, var(--color-panel-light) 0%, var(--color-panel) 100%);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 24px;
    max-width: 360px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.surrender-modal-header {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 12px;
    text-align: center;
}

.surrender-modal-body {
    font-size: 0.95em;
    color: var(--color-text-dim);
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.surrender-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.surrender-modal-btn {
    padding: 8px 20px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.surrender-cancel {
    background: linear-gradient(135deg, var(--color-panel-hover) 0%, var(--color-panel-light) 100%);
    color: var(--color-text);
}

.surrender-cancel:hover {
    background: linear-gradient(135deg, #5a4e40 0%, var(--color-panel-hover) 100%);
    border-color: var(--color-border-light);
}

.surrender-confirm {
    background: linear-gradient(135deg, var(--color-accent-bright) 0%, var(--color-accent) 100%);
    color: #f0e0d0;
    font-weight: 500;
}

.surrender-confirm:hover {
    background: linear-gradient(135deg, #d44040 0%, var(--color-accent-bright) 100%);
    border-color: var(--color-accent-bright);
}
