/* Modal Choice Window Styles */

.modal-option-choice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.modal-option-choice-overlay.active {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    pointer-events: all;
}

.modal-option-choice-overlay.fade-out {
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
}

.modal-option-choice-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    animation: dropDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-option-choice-overlay.active .modal-option-choice-content {
    animation: dropDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-option-choice-overlay.fade-out .modal-option-choice-content {
    animation: fadeOut 0.25s ease forwards;
}

@keyframes dropDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px);
        opacity: 0;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-option-choice-title {
    color: #1a7f7f;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 30px 0;
    text-align: center;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 20px;
}

.modal-option-choice-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-option-choice-option {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
}

.modal-option-choice-option:hover {
    border-color: #1a7f7f;
    background: #f0f9f9;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(26, 127, 127, 0.1);
}

.modal-option-choice-option:active {
    transform: translateX(4px) scale(0.99);
}

.modal-option-choice-option-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a7f7f;
    margin-bottom: 6px;
}

.modal-option-choice-option-description {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

.modal-option-choice-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #999999;
    font-size: 28px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.modal-option-choice-close-btn:hover {
    background: #f5f5f5;
    color: #333333;
}

.modal-option-choice-close-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-option-choice-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .modal-option-choice-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .modal-option-choice-option {
        padding: 15px;
    }

    .modal-option-choice-option-name {
        font-size: 15px;
    }

    .modal-option-choice-option-description {
        font-size: 12px;
    }
}

/* Dark theme variant (optional) */
.modal-option-choice-content.dark-theme {
    background: #2d3748;
    border: 1px solid #4a5568;
}

.modal-option-choice-content.dark-theme .modal-option-choice-title {
    color: #5fb3b3;
    border-bottom-color: #4a5568;
}

.modal-option-choice-content.dark-theme .modal-option-choice-option {
    background: #1a202c;
    border-color: #4a5568;
}

.modal-option-choice-content.dark-theme .modal-option-choice-option:hover {
    background: #2d3748;
    border-color: #5fb3b3;
}

.modal-option-choice-content.dark-theme .modal-option-choice-option-name {
    color: #5fb3b3;
}

.modal-option-choice-content.dark-theme .modal-option-choice-option-description {
    color: #a0aec0;
}

.modal-option-choice-content.dark-theme .modal-option-choice-close-btn {
    color: #a0aec0;
}

.modal-option-choice-content.dark-theme .modal-option-choice-close-btn:hover {
    background: #4a5568;
    color: #ffffff;
}
