/* Rental Application Form Styles */

.application-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

.application-progress {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s;
}

.progress-step.active .step-circle {
    background: #007bff;
    color: white;
}

.progress-step.completed .step-circle {
    background: #28a745;
    color: white;
}

.progress-step.completed .step-circle::after {
    content: '✓';
}

.step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.application-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.application-form .form-group {
    margin-bottom: 20px;
}

.application-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.application-form .form-group label .required {
    color: #dc3545;
}

.application-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.application-form .form-control:focus {
    outline: none;
    border-color: #007bff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-area:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.file-upload-area.dragover {
    border-color: #007bff;
    background: #e7f3ff;
}

.file-preview {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.file-preview.show {
    display: block;
}

.application-form .btn-primary {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.application-form .btn-primary:hover {
    background: #0056b3;
}

.application-form .btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
}

.application-form .btn-secondary:hover {
    background: #5a6268;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.application-form .alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.application-form .alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.application-form .alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.instant-rent-benefits {
    display: none;
    background: #e7f3ff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.instant-rent-benefits.show {
    display: block;
}

.instant-rent-benefits ul {
    margin: 10px 0;
    padding-left: 20px;
}

.instant-rent-benefits li {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 20px;
    }
    
    .application-container {
        padding: 10px;
        margin: 30px auto;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .application-form .btn-secondary,
    .application-form .btn-primary {
        width: 100%;
        margin: 5px 0;
    }
}
