/* Modal Overlay */
.pilot-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pilot-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Card */
.pilot-modal-card {
    width: 90%;
    max-width: 480px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pilot-modal-overlay.active .pilot-modal-card {
    transform: translateY(0);
}

/* Close Button */
.pilot-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s;
}

.pilot-close-btn:hover {
    color: white;
}

/* Form Styles */
.pilot-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pilot-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pilot-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pilot-form-group {
    margin-bottom: 1rem;
}

.pilot-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-align: left;
}

.pilot-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.pilot-input:focus {
    outline: none;
    border-color: var(--bright-teal);
    background: rgba(0, 0, 0, 0.4);
}

.pilot-submit-btn {
    width: 100%;
    background: var(--bright-teal);
    color: #0f172a;
    border: none;
    border-radius: 10px;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pilot-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.3);
}

/* Success State */
.pilot-success-message {
    text-align: center;
    padding: 2rem 0;
    display: none;
}

.pilot-success-icon {
    width: 64px;
    height: 64px;
    color: var(--bright-teal);
    margin-bottom: 1rem;
}

.pilot-success-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}