#br-registration-form-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.br-form-section {
    margin-bottom: 30px;
}

.br-form-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    color: #333;
}

.br-form-section h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #555;
}

.br-form-section h4 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #333;
    font-weight: 600;
}

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

.br-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.br-form-group input[type="text"],
.br-form-group input[type="email"],
.br-form-group input[type="tel"],
.br-form-group input[type="date"],
.br-form-group input[type="number"],
.br-form-group select,
.br-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.br-form-group input[type="text"]:focus,
.br-form-group input[type="email"]:focus,
.br-form-group input[type="tel"]:focus,
.br-form-group input[type="date"]:focus,
.br-form-group input[type="number"]:focus,
.br-form-group select:focus,
.br-form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.br-form-group input[type="file"] {
    padding: 8px 0;
}

.br-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.required {
    color: #e74c3c;
}

.br-radio-group,
.br-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.br-radio-group label,
.br-checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.br-radio-group input[type="radio"],
.br-checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.br-other-option input[type="text"] {
    margin-left: 10px;
    width: 200px;
    display: inline-block;
}

.mapbox-geocoder {
    margin-bottom: 10px;
}

.mapboxgl-ctrl-geocoder {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mapboxgl-ctrl-geocoder input {
    padding: 10px 12px;
    font-size: 15px;
}

.owner-entry {
    padding: 20px;
    margin-bottom: 25px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    position: relative;
}

.owner-entry h3 {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-owner-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.remove-owner-btn:hover {
    background: #c0392b;
}

.br-add-btn {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.br-add-btn:hover {
    background: #2980b9;
}

.br-agreement {
    padding: 20px;
    background: #f5f5f5;
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
    border-radius: 4px;
}

.br-agreement p {
    margin: 10px 0;
    line-height: 1.6;
    color: #555;
}

.br-agreement label {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    font-weight: 500;
}

.br-agreement input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.signature-pad-container {
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    padding: 10px;
}

#signature-canvas {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    cursor: crosshair;
    touch-action: none;
}

.br-clear-btn {
    margin-top: 10px;
    background: #95a5a6;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.br-clear-btn:hover {
    background: #7f8c8d;
}

.br-form-actions {
    margin-top: 25px;
}

.br-next-btn,
.br-prev-btn,
.br-submit-btn {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-right: 10px;
}

.br-next-btn,
.br-submit-btn {
    background: #4CAF50;
    color: #fff;
}

.br-next-btn:hover,
.br-submit-btn:hover {
    background: #45a049;
}

.br-prev-btn {
    background: #95a5a6;
    color: #fff;
}

.br-prev-btn:hover {
    background: #7f8c8d;
}

.br-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#br-form-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    margin: 0 5px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.progress-step.active {
    background: #4CAF50;
    color: #fff;
    font-weight: 600;
}

.progress-step:hover {
    background: #e0e0e0;
}

.progress-step.active:hover {
    background: #45a049;
}

.br-error {
    border-color: #e74c3c !important;
}

.br-error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}

#br-form-messages {
    margin: 20px 0;
}

.br-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.br-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.br-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    #br-registration-form-container {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .br-form-section h2 {
        font-size: 20px;
    }
    
    #br-form-progress {
        flex-direction: column;
    }
    
    .progress-step {
        margin: 5px 0;
    }
    
    .br-radio-group,
    .br-checkbox-group {
        gap: 8px;
    }
    
    .br-other-option input[type="text"] {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }
    
    #signature-canvas {
        width: 100%;
        height: 300px;
    }
}
