/**
 * Global Advisors Recruitment Application Form Styles
 */

.ga-recruitment-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.ga-recruitment-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0066cc;
}

.ga-recruitment-header h1 {
    font-size: 32px;
    color: #333333;
    margin-bottom: 20px;
}

/* Stage Indicator */
.ga-stage-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ga-stage {
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 14px;
    color: #666666;
    transition: all 0.3s;
}

.ga-stage.active {
    background: #0066cc;
    color: #ffffff;
    font-weight: bold;
}

.ga-stage.completed {
    background: #28a745;
    color: #ffffff;
}

/* Stage Content */
.ga-stage-content {
    display: none;
}

.ga-stage-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.ga-stage-content h2 {
    font-size: 24px;
    color: #333333;
    margin-bottom: 10px;
}

.ga-stage-content p {
    color: #666666;
    margin-bottom: 30px;
}

/* Form Styles */
.ga-form {
    margin-top: 20px;
}

.ga-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ga-form-group {
    margin-bottom: 20px;
}

.ga-form-group label {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.ga-form-group label .required {
    color: #dc3545;
}

.ga-form-group input,
.ga-form-group select,
.ga-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.ga-form-group input:focus,
.ga-form-group select:focus,
.ga-form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ga-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.ga-form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.ga-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ga-btn-primary {
    background: #0066cc;
    color: #ffffff;
}

.ga-btn-primary:hover {
    background: #0052a3;
}

.ga-btn-secondary {
    background: #6c757d;
    color: #ffffff;
}

.ga-btn-secondary:hover {
    background: #5a6268;
}

.ga-btn-success {
    background: #28a745;
    color: #ffffff;
    font-size: 18px;
    padding: 15px 40px;
}

.ga-btn-success:hover {
    background: #218838;
}

.ga-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Review Section */
.ga-review {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.ga-review h3 {
    font-size: 18px;
    color: #0066cc;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.ga-review h3:first-child {
    margin-top: 0;
}

.ga-review-item {
    margin-bottom: 10px;
}

.ga-review-item strong {
    color: #333333;
    min-width: 150px;
    display: inline-block;
}

/* Success Message */
.ga-success-message {
    text-align: center;
    padding: 40px 20px;
}

.ga-success-message h2 {
    color: #28a745;
    font-size: 32px;
    margin-bottom: 20px;
}

.ga-success-message p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 15px;
}

/* Footer */
.ga-recruitment-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.ga-autosave-indicator {
    font-size: 14px;
    color: #666666;
}

.ga-autosave-indicator.saving {
    color: #ffc107;
}

.ga-autosave-indicator.saved {
    color: #28a745;
}

/* Error Messages */
.ga-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Loading State */
.ga-loading {
    text-align: center;
    padding: 20px;
    color: #666666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ga-recruitment-container {
        margin: 20px;
        padding: 20px;
    }

    .ga-recruitment-header h1 {
        font-size: 24px;
    }

    .ga-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ga-stage-indicator {
        font-size: 12px;
    }

    .ga-stage {
        padding: 8px 12px;
    }

    .ga-form-actions {
        flex-direction: column;
    }

    .ga-btn {
        width: 100%;
    }
}
