/* Form Page Specific Styles */

.form-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Form Navigation Bar */
.form-navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 1.125rem;
}

.form-nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-save-draft {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save-draft:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-exit {
    padding: 0.625rem 1.25rem;
    color: #6b7280;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-exit:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Progress Bar */
.progress-container {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.progress-bar {
    max-width: 800px;
    margin: 0 auto 0.75rem;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0 1rem;
}

/* Main Form Container */
.form-main {
    padding: 3rem 1rem;
    min-height: calc(100vh - 200px);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Header */
.step-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-number span {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-info h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-info p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Options Container */
.options-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.options-container.two-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Option Cards */
.option-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card.large {
    padding: 3rem 2rem;
}

.option-card:hover {
    border-color: #93c5fd;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.option-card.selected {
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
}

.option-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.option-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.option-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.option-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.option-card.selected .option-check {
    opacity: 1;
    transform: scale(1);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Help Button */
.help-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #6b7280;
}

.help-button:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Coming Soon Section */
.coming-soon {
    background: white;
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed #e5e7eb;
}

.coming-soon svg {
    margin-bottom: 1.5rem;
}

.coming-soon h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.coming-soon p {
    color: #6b7280;
    font-size: 1rem;
}

/* Form Sections (for future use) */
.form-sections {
    margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .options-container {
        grid-template-columns: 1fr;
    }
    
    .options-container.two-column {
        grid-template-columns: 1fr;
    }
    
    .step-info h2 {
        font-size: 1.5rem;
    }
    
    .form-nav-container {
        padding: 0 1rem;
    }
    
    .btn-save-draft span {
        display: none;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .form-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}