.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Serif', 'Georgia', serif;
    /* Підберіть шрифт, схожий на книжковий */
}

.modal-content {
    background: white;
    padding: 40px;
    border: 8px double #8b2331;
    /* Подвійна бордова рамка */
    border-radius: 4px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.modal-title {
    color: #333;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.modal-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 30px;
}

.stat-group {
    flex: 1;
}

.stat-item {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.stat-item.highlight {
    font-size: 18px;
    color: #555;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: #eee;
    margin: 0 20px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #333;
    background: white;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    font-weight: bold;
    text-transform: uppercase;
}

.btn-secondary {
    background: #f5f5f5;
}

.stat-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #888;
    padding-bottom: 10px;
}

.stat-value.secondary {
    /* font-size: 14px; */
    color: #888;
}

.stat-divider {
    width: 2px;
    height: 80px;
    background: #e0e0e0;
    margin: 0 15px;
}