body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.form-step {
    transition: opacity 0.3s ease-in-out;
}

.form-step.d-none {
    display: none !important;
}

.progress {
    height: 0.5rem;
}

.progress-bar {
    transition: width 0.3s ease-in-out;
    background-color: #6dcf31;
}

.nav-pills .nav-link {
    cursor: pointer;
    color: #6c757d;
}

.nav-pills .nav-link:hover {
    color: #6dcf31;
}

.nav-pills .nav-link.active {
    background-color: #6dcf31 !important;
    color: white;
}

.form-label.required::after {
    content: " *";
    color: red;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.contacto-card {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #fff;
}

.contacto-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

#fiscalidadTabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

#fiscalidadTabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    position: relative;
}

#fiscalidadTabs .nav-link:hover {
    color: #6dcf31;
    border: none;
    isolation: isolate;
}

#fiscalidadTabs .nav-link.active {
    color: #6dcf31;
    background: none;
    border: none;
}

#fiscalidadTabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #6dcf31;
}

.tab-content {
    padding: 1rem 0;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .card {
        margin: 1rem;
    }
    
    .nav-pills {
        flex-direction: column;
    }
    
    .nav-pills .nav-item {
        margin-bottom: 0.5rem;
    }
}

input[readonly] {
    background-color: #e9ecef !important;
    cursor: not-allowed;
    color: #6c757d;
}

/* Estilos para el encabezado */
.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.logo-container {
    flex: 0 0 auto;
}

.company-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-content h2 {
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 1;
}

@media (max-width: 576px) {
    .header-content {
        flex-direction: column;
        align-items: center;
    }
    
    .header-content h2 {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
    
    .company-logo {
        height: 80px;
    }
}

/* Modificar el color de los botones */
.btn-primary {
    background-color: #6dcf31;
    border-color: #6dcf31;
}

.btn-primary:hover {
    background-color: #5bb529;
    border-color: #5bb529;
}

.btn-primary:focus {
    background-color: #5bb529;
    border-color: #5bb529;
    box-shadow: 0 0 0 0.25rem rgba(109, 207, 49, 0.25);
}

.btn-primary:active {
    background-color: #4ea023 !important;
    border-color: #4ea023 !important;
}

.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-valid {
    border-color: #6dcf31;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
} 