.confiatucasa-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.confiatucasa-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #0c3c44;
    font-size: 28px;
    font-weight: 600;
}

.confiatucasa-form h4 {
    color: #0c3c44;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
}

.form-step {
    min-height: 300px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.confiatucasa-form input,
.confiatucasa-form select,
.confiatucasa-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.confiatucasa-form input:focus,
.confiatucasa-form select:focus,
.confiatucasa-form textarea:focus {
    outline: none;
    border-color: #45e0a9;
    box-shadow: 0 0 0 3px rgba(69, 224, 169, 0.1);
}

.confiatucasa-form input.error,
.confiatucasa-form select.error {
    border-color: #e74c3c;
}

.confiatucasa-form button {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
}

.next-step, button[type="submit"] {
    background: #45e0a9;
    color: #0c3c44;
}

.next-step:hover, button[type="submit"]:hover {
    background: #3bc995;
    transform: translateY(-2px);
}

.prev-step {
    background: #7fa0a6;
    color: white;
}

.prev-step:hover {
    background: #6a8a91;
}

/* ESTILOS PARA MANTENIMIENTO CON ACORDEÓN */
.maintenance-option {
    margin-bottom: 20px;
    padding: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.maintenance-option:hover {
    border-color: #45e0a9;
    background: #f0fdf7;
}

.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #0c3c44;
    margin: 0;
    flex: 1;
}

.checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #45e0a9;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: none !important;
}

.accordion-arrow {
    font-size: 18px;
    color: #45e0a9;
    transition: transform 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    display: inline-block;
    min-width: 20px;
    text-align: center;
    /* Cambiar el símbolo de flecha */
    font-family: Arial, sans-serif;
    line-height: 1;
    vertical-align: middle;
}

.accordion-arrow::before {
    content: "▶";
    display: inline-block;
    transition: transform 0.3s ease;
}

.accordion-arrow.rotated::before {
    transform: rotate(90deg);
}

/* Remover el contenido directo del HTML */
.accordion-arrow {
    font-size: 16px;
    color: #45e0a9;
    transition: transform 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    min-width: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1;
    vertical-align: middle;
}

.accordion-arrow::before {
    content: "▶";
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.accordion-arrow.rotated::before {
    transform: rotate(90deg);
}

.frequency-options {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.frequency-options label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: normal;
    cursor: pointer;
}

.frequency-options input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #45e0a9;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: none !important;
}

/* ESTILOS PARA REPARACIONES */
.repair-option {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f8f9fa;
}

.repair-option label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #0c3c44;
}

.repair-details {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

#form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

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

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

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .confiatucasa-form {
        padding: 20px;
        margin: 10px;
    }
    
    .frequency-options label {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Progress indicator */
.form-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e1e5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: #666;
    font-weight: 500;
}

.progress-step.active {
    background: #45e0a9;
    color: #0c3c44;
}

.progress-step.completed {
    background: #0c3c44;
    color: white;
}

/* Estilos para el header del mantenimiento con acordeón */
.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.accordion-icon {
    font-size: 14px;
    color: #45e0a9;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

/* Estilos mejorados para checkboxes */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #0c3c44;
    margin: 0;
}

/* Removed duplicate checkbox styling - consolidated above */

.checkmark {
    margin-right: 8px;
}

/* Mejorar la visualización de las opciones de mantenimiento */

/* Ensure checkboxes are always visible - override any theme conflicts */
.confiatucasa-form input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: auto !important;
    height: auto !important;
    min-width: 16px !important;
    min-height: 16px !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #ccc !important;
    background: white !important;
    box-shadow: none !important;
}

/* Specific styling for maintenance checkboxes */
.maintenance-option .checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px !important;
}

/* Specific styling for frequency checkboxes */
.frequency-options .checkbox-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px !important;
}

/* Ensure accordion arrows are properly styled */
.confiatucasa-form .accordion-arrow {
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}
.maintenance-option {
    margin-bottom: 15px;
    padding: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.maintenance-option:hover {
    border-color: #45e0a9;
    background: #f0fdf7;
}

.maintenance-option.selected {
    border-color: #45e0a9;
    background: #f0fdf7;
    box-shadow: 0 2px 8px rgba(69, 224, 169, 0.2);
}

.frequency-options {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* Estilos para checkboxes personalizados */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #0c3c44;
    margin: 0;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-group .checkbox-label:hover {
    background-color: #f8f9fa;
    border-color: #0c3c44;
}

.checkbox-group .checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #45e0a9;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #45e0a9;
    border-color: #45e0a9;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Estilos para radio buttons personalizados */
.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    user-select: none;
    font-weight: normal;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-option:hover input ~ .radio-checkmark {
    border-color: #45e0a9;
}

.radio-option input:checked ~ .radio-checkmark {
    background-color: #45e0a9;
    border-color: #45e0a9;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-option input:checked ~ .radio-checkmark:after {
    display: block;
}

.radio-option .radio-checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Header del mantenimiento */
.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.accordion-icon {
    font-size: 16px;
    color: #45e0a9;
    transition: transform 0.3s ease;
    font-weight: bold;
    margin-left: 10px;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

/* Opciones de mantenimiento */
.maintenance-option {
    margin-bottom: 15px;
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.maintenance-option:hover {
    border-color: #45e0a9;
    background: #f0fdf7;
}

.maintenance-option.selected {
    border-color: #45e0a9;
    background: #f0fdf7;
    box-shadow: 0 2px 8px rgba(69, 224, 169, 0.2);
}

.frequency-options {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.frequency-title {
    font-weight: 600;
    color: #0c3c44;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Estilos para detalles del jardín */
.garden-details {
    background: #f8fffe;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1f5f0;
}

.garden-details h5 {
    margin: 0 0 15px 0;
    font-size: 16px;
}

.service-option {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group .radio-option {
    margin-bottom: 0;
    padding-left: 25px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-row label {
        margin-bottom: 5px;
    }
}

.next-step.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc !important;
}

.next-step.disabled:hover {
    background-color: #ccc !important;
}