/*
 * ============================================================================
 * Modal Dialog Styles
 * ============================================================================
 * Styles for the project name editor modal and other modal dialogs.
 * Includes mobile-specific viewport height fixes for iOS.
 * ============================================================================
 */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.modal-dialog {
    background: var(--bg-header);
    border: 1px solid var(--border-header);
    border-radius: 8px;
    padding: 24px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.modal-dialog h3 {
    margin: 0 0 16px 0;
    color: var(--text-header-title);
    font-size: 18px;
    font-weight: 600;
}

.project-name-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--border-header);
    border-radius: 4px;
    background: var(--bg-app);
    color: var(--text-header-title);
    margin-bottom: 16px;
    box-sizing: border-box;
}

.project-name-input:focus {
    outline: none;
    border-color: var(--color-accent-blue);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
