/* export-options-popup.css */

/* Export Options Overlay */
.export-options-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark, semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1003; /* Higher than other modals to ensure it's on top */
    backdrop-filter: blur(8px); /* Blur effect */
    -webkit-backdrop-filter: blur(8px);
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.export-options-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Export Options Content Box */
.export-options-content {
    background: #2a2a2a; /* Dark background */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
    border-radius: 12px;
    padding: 2.5rem; /* Ample padding */
    width: 90%;
    max-width: 450px; /* Compact width for a choice popup */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Soft shadow */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Space between elements */
    position: relative;
    color: #ffffff;
    text-align: center;
    margin: auto; /* Center the content within the flex container */
}

.export-options-content h2 {
    font-size: 2rem;
    color: #6c5ce7; /* Primary accent color */
    margin-bottom: 0.5rem;
}

.export-options-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Close Button */
.close-export-popup-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.close-export-popup-button:hover {
    color: #fd79a8;
    transform: rotate(90deg);
}

/* Export Buttons Container */
.export-buttons-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 1rem; /* Space between buttons */
}

/* Export Option Buttons */
.export-option-button {
    background: linear-gradient(135deg, #6c5ce7, #fd79a8); /* Gradient style */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.export-option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.5);
    background: linear-gradient(135deg, #fd79a8, #6c5ce7); /* Reverse gradient on hover */
}

.export-option-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .export-options-content {
        padding: 2rem;
        max-width: 95%;
    }

    .export-options-content h2 {
        font-size: 1.8rem;
    }

    .export-options-content p {
        font-size: 1rem;
    }

    .export-option-button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .export-options-content {
        padding: 1.5rem;
        gap: 1rem;
    }

    .export-options-content h2 {
        font-size: 1.5rem;
    }

    .export-option-button {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}