/**
 * Proof of Loss Form Styles
 * 
 * @package ProofOfLoss
 * @version 1.0.0
 */

/* Form Container */
.proof-of-loss-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Privacy Notice */
.proof-of-loss-privacy-notice {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.proof-of-loss-privacy-notice h3 {
    margin-top: 0;
    color: #495057;
}

/* Progress Bar */
.proof-of-loss-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #007cba;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h3 {
    margin-bottom: 10px;
    color: #212529;
}

.section-header p {
    color: #6c757d;
    margin: 0;
}

/* Form Fields */
.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #212529;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.25);
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: auto;
    margin: 0;
}

/* Field Tooltips */
.field-tooltip {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

/* Conditional Field Visibility - Hidden by default */
#police-report-fields,
#witness-fields,
#previous-claims-fields,
#other-insurance-fields {
    display: none;
}

/* Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.form-navigation button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-navigation button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #007cba;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #005a87;
}

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

.btn-secondary:hover:not(:disabled) {
    background-color: #545b62;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background-color: #1e7e34;
}

/* File Upload */
.form-field input[type="file"] {
    padding: 6px;
    border: 2px dashed #ced4da;
    background-color: #f8f9fa;
}

.form-field input[type="file"]:hover {
    border-color: #007cba;
    background-color: #f0f8ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .proof-of-loss-form {
        padding: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-navigation button {
        width: 100%;
    }
} 