/* Base Modal View Styles */

.modal-view {
    --modal-bg: white;
    --modal-border: #e0e0e0;
    --modal-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --text-color: #333;
    --primary-color: #702A2A;
}

.modal-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-view .modal-content {
    background: var(--modal-bg);
    border: 1px solid var(--modal-border);
    border-radius: 0.75rem;
    box-shadow: var(--modal-shadow);
    padding: 1.5rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-view .modal-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.modal-view .modal-message {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-view .modal-body {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-view .modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.modal-view button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

@media (max-width: 600px) {
    .modal-view {
        padding: 0.5rem;
    }

    .modal-view .modal-content {
        padding: 1.25rem;
    }

    .modal-view .modal-footer {
        flex-direction: column-reverse;
    }

    .modal-view button {
        width: 100%;
    }
}