.container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Стилі для модального вікна */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 340px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.modal-message {
    margin-bottom: 25px;
    color: #555;
    font-size: 16px;
}

/* Поля для вводу коду */
.code-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.code-input {
    width: 50px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 24px;
    text-align: center;
    margin: 0 5px;
}

.code-input:focus {
    border-color: #4285f4;
    outline: none;
}

/* Кнопки */
.modal-buttons {
    display: flex;
    justify-content: space-between;
}

.modal-button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 0 5px;
}

.cancel-button {
    background-color: #f1f1f1;
    color: #555;
}

.confirm-button {
    background-color: #4285f4;
    color: white;
}

.confirm-button:disabled {
    background-color: #a9c6fa;
    cursor: not-allowed;
}

.cancel-button:hover {
    background-color: #e1e1e1;
}

.confirm-button:hover:not(:disabled) {
    background-color: #3367d6;
}

.demo-button {
    padding: 12px 25px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.demo-button:hover {
    background-color: #3367d6;
}

/* Анімація для модального вікна */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}