/* LinkedIn Style Apply Form */
.linkedin-style-apply {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.apply-header {
    background: transparent;
    color: #333;
    padding: 20px 0;
    margin: 0 0 20px 0;
}

.apply-header h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #00897B;
}

.apply-header p {
    opacity: 0.7;
    font-size: 0.95rem;
    color: #666;
}

.apply-section {
    padding: 20px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    margin-bottom: 30px;
}

.section-title {
    color: #00897B;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding-bottom: 0;
    border: none !important;
    border-bottom: none !important;
    margin-bottom: 15px;
}

.section-title i {
    background: transparent;
    color: #00897B;
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 8px;
}

/* Form Controls */
.apply-form .form-control,
.apply-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.apply-form .form-control:focus,
.apply-form .form-select:focus {
    border-color: #00897B;
    box-shadow: 0 0 0 0.2rem rgba(0,137,123,0.15);
}

.apply-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* CV Upload Area */
.cv-upload-area {
    position: relative;
}

.upload-box {
    border: 2px dashed #dee2e6 !important;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-box:hover {
    border-color: #00897B !important;
    background: transparent;
}

.upload-box i {
    color: #00897B;
}

.upload-box .btn-outline-primary {
    border-color: #00897B;
    color: #00897B;
}

.upload-box .btn-outline-primary:hover {
    background: #00897B;
    border-color: #00897B;
}

/* CV Preview */
#cv-preview .alert {
    border-radius: 8px;
    border: 1px solid #d4edda;
}

/* Buttons */
.apply-form .btn-sajjil {
    background: #00897B;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.apply-form .btn-sajjil:hover {
    background: #00695C;
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .apply-header {
        padding: 15px 0;
        margin: 0 0 15px 0;
    }
    
    .apply-header h5 {
        font-size: 1.1rem;
    }
    
    .apply-section {
        padding: 15px 0;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .section-title i {
        font-size: 0.9rem;
    }
}

/* RTL Support */
[dir="rtl"] .section-title i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] #cv-preview .float-end {
    float: left !important;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apply-section {
    animation: fadeInUp 0.5s ease-out;
}

.apply-section:nth-child(2) { animation-delay: 0.1s; }
.apply-section:nth-child(3) { animation-delay: 0.2s; }
.apply-section:nth-child(4) { animation-delay: 0.3s; }
.apply-section:nth-child(5) { animation-delay: 0.4s; }
.apply-section:nth-child(6) { animation-delay: 0.5s; }
