/* Modal styles */
.modal-dialog {
    border: none;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    padding: 0;
    backdrop-filter: blur(4px);
}

.modal-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Size modifiers */
.modal-dialog.small {
    max-width: 400px;
}

.modal-dialog.medium {
    max-width: 600px;
}

.modal-dialog.large {
    max-width: 800px;
}

.modal-dialog.xlarge {
    max-width: 1000px;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}
