/* ===== TEYMA MAINTENANCE - CSS PROFESIONAL Y RESPONSIVE ===== */

/* Variables CSS para consistencia */
:root {
    --primary-color: #ce5109;
    --primary-hover: #facc76;
    --primary-dark: #a33d06;
    --secondary-color: #6c757d;
    --background-light: #f8f9fa;
    --border-color: #dee2e6;
    --text-primary: #343a40;
    --text-secondary: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.2s ease;
}

/* Carga de fuente corporativa */
@font-face {
    font-family: 'Frutiger Light';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src:
        local('Frutiger Light'),
        local('Frutiger-Light'),
        url('../fonts/Frutiger-Light.woff2') format('woff2'),
        url('../fonts/Frutiger-Light.woff') format('woff');
}

/* Reset y base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Frutiger Light', 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR PROFESIONAL ===== */
.navbar {
    background: linear-gradient(135deg, rgba(206, 81, 9, 0.95), rgba(163, 61, 6, 0.95)) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}

.navbar-brand img {
    height: 45px;
    transition: var(--transition);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5)) brightness(1.1) contrast(1.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 8px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .container-fluid {
    padding: 0 20px;
}

.navbar h1 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* ===== BOTONES DE NAVEGACIÓN ===== */
.custom-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    margin: 4px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.custom-button:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

.custom-button:active {
    transform: translateY(0);
}

.custom-button i {
    margin-right: 6px;
    transition: var(--transition);
}

.custom-button:hover i {
    transform: scale(1.1);
}

.custom-button.active {
    background: linear-gradient(135deg, var(--primary-dark), #8b2a04);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* ===== FORMULARIO PRINCIPAL ===== */
.custom-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 20px auto;
    max-width: 1200px;
    border: 1px solid var(--border-color);
}

.custom-form h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
}

/* ===== CAMPOS DE FORMULARIO ===== */
.form-group {
    margin-bottom: 20px;
}

.form-control,
.custom-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus,
.custom-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(206, 81, 9, 0.1);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* ===== LABELS ===== */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

/* ===== TEXTAREA ===== */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ===== SELECT PERSONALIZADO MEJORADO ===== */
.custom-select,
select.form-control,
.form-control.custom-select {
    background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 12px center/16px 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding: 14px 40px 14px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    line-height: 1.4 !important;
    min-height: 48px !important;
    height: auto !important;
}

.custom-select:focus,
select.form-control:focus,
.form-control.custom-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ce5109' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    border-color: #ce5109 !important;
    box-shadow: 0 0 0 0.2rem rgba(206, 81, 9, 0.25) !important;
    outline: none !important;
}

/* Estilos para las opciones */
.custom-select option,
select.form-control option,
.form-control.custom-select option {
    padding: 10px 12px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    background-color: white !important;
    line-height: 1.4 !important;
    min-height: 28px !important;
}

.custom-select option:first-child,
select.form-control option:first-child,
.form-control.custom-select option:first-child {
    color: #6c757d !important;
    font-style: italic !important;
    padding: 10px 12px !important;
}

.custom-select option:hover,
select.form-control option:hover,
.form-control.custom-select option:hover {
    background-color: #f8f9fa !important;
}

/* ===== BOTONES PRINCIPALES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-width: 150px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #5a6268);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #868e96, var(--secondary-color));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #c82333);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #e0a800);
    color: #212529;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), #138496);
    color: white;
}

.btn i {
    margin-right: 8px;
}

/* ===== ESTADOS DE VALIDACIÓN ===== */
.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.84-.84L4.9 7.65l3.54-3.54.84.84L4.9 9.32z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3cpath fill='%23dc3545' d='m5.996 7.736-.84-.84L6.17 5.98l-.84-.84.84-.84L7.18 5.31l.84-.84.84.84L7.85 6.32l.84.84-.84.84L6.84 7.05l-.84.84z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

/* ===== ARCHIVOS ===== */
.form-control-file {
    padding: 10px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    background: #f8f9fa;
    transition: var(--transition);
}

.form-control-file:hover {
    border-color: var(--primary-color);
    background: white;
}

/* ===== MODALES ===== */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-md);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #343a40, #495057);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.footer-text {
    margin: 0;
    font-weight: 600;
    text-align: center;
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* ===== SPINNER ===== */
.spinner-border {
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (768px y menos) */
@media (max-width: 768px) {
    .navbar h1 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .navbar .mx-auto {
        width: 100%;
    }
    
    .custom-form {
        padding: 20px;
        margin: 10px;
    }
    
    .navbar-nav {
        background: rgba(0,0,0,0.1);
        border-radius: var(--border-radius);
        padding: 10px;
        margin-top: 10px;
    }
    
    .custom-button {
        width: 100%;
        margin: 4px 0;
        justify-content: flex-start;
    }
    
    .btn {
        width: 100%;
        margin: 8px 0;
    }
    
    /* Formulario responsive */
    .row .col-md-3,
    .row .col-md-6,
    .row .col-md-9 {
        margin-bottom: 15px;
    }
}

/* Móviles (576px y menos) */
@media (max-width: 576px) {
    .navbar {
        padding: 5px 0;
    }
    
    .navbar .container-fluid {
        padding: 0 10px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar h1 {
        font-size: 1.2rem;
        margin: 5px 0;
    }
    
    .custom-form {
        padding: 15px;
        margin: 5px;
        border-radius: 6px;
    }
    
    .custom-form h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .form-control,
    .custom-select {
        padding: 14px 16px; /* Más padding para táctil */
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .custom-button {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Ajustes de grid para móviles */
    .row {
        margin: 0 -5px;
    }
    
    .row > div {
        padding: 0 5px;
    }
    
    /* Modal responsive */
    .modal-dialog {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .modal-content {
        border-radius: 6px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    /* Footer responsive */
    footer {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .footer-text {
        font-size: 14px;
        padding: 0 10px;
        text-align: center;
    }
}

/* Móviles muy pequeños (400px y menos) */
@media (max-width: 400px) {
    .custom-form {
        padding: 12px;
        margin: 3px;
    }
    
    .navbar h1 {
        font-size: 1rem;
    }
    
    .custom-button {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .form-control,
    .custom-select {
        padding: 12px 14px;
        font-size: 16px; /* Mantener 16px para evitar zoom */
    }
}

/* Landscape móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 3px 0;
    }
    
    .navbar h1 {
        font-size: 1rem;
        margin: 0;
    }
    
    .custom-form {
        padding: 15px;
        margin: 5px;
    }
    
    .custom-form h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para navegación por teclado */
.custom-button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.custom-select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== ESTADOS HOVER SOLO EN DISPOSITIVOS QUE LO SOPORTAN ===== */
@media (hover: hover) {
    .custom-button:hover,
    .btn:hover {
        transform: translateY(-1px);
    }
}

/* Touch devices - sin transform en hover */
@media (hover: none) {
    .custom-button:hover,
    .btn:hover {
        transform: none;
    }
    
    .custom-button:active,
    .btn:active {
        transform: scale(0.98);
    }
}

.custom-form label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.custom-form select,
.custom-form input[type="text"],
.custom-form input[type="date"],
.custom-form input[type="time"],
.custom-form input[type="file"],
.custom-form textarea {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
}

.custom-form select:focus,
.custom-form input[type="text"]:focus,
.custom-form input[type="date"]:focus,
.custom-form input[type="time"]:focus,
.custom-form input[type="file"]:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.custom-form button[type="submit"] {
    padding: 12px 30px;
    font-size: 16px;
    background-color: rgb(206, 81, 9);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.custom-form button[type="submit"]:hover {
    background-color: rgb(250, 204, 118);
}

/* Estilos para el campo de archivo */
.custom-form input[type="file"] {
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.custom-form input[type="file"]:hover {
    border-color: rgb(206, 81, 9);
}

.custom-form input[type="file"]:focus {
    border-color: #007bff;
    background-color: #fff;
}

.form-text.text-info {
    color: rgb(206, 81, 9) !important;
    font-weight: bold;
}

/* Estilos mejorados para botones del formulario */
.custom-form .btn {
    min-width: 150px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.custom-form .btn-primary {
    background: linear-gradient(45deg, rgb(206, 81, 9), rgb(230, 100, 30));
    border: none;
    box-shadow: 0 4px 15px rgba(206, 81, 9, 0.3);
}

.custom-form .btn-primary:hover {
    background: linear-gradient(45deg, rgb(250, 204, 118), rgb(206, 81, 9));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 81, 9, 0.4);
}

.custom-form .btn-secondary {
    background: linear-gradient(45deg, #6c757d, #868e96);
    border: none;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.custom-form .btn-secondary:hover {
    background: linear-gradient(45deg, #868e96, #6c757d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .custom-form {
        padding: 15px;
        margin: 10px;
    }
    
    .custom-form label {
        font-size: 13px;
    }
    
    .custom-form select,
    .custom-form input[type="text"],
    .custom-form input[type="date"],
    .custom-form input[type="time"],
    .custom-form input[type="file"],
    .custom-form textarea {
        font-size: 16px; /* Evita zoom en iOS */
        padding: 12px;
    }
    
    .custom-form button[type="submit"] {
        padding: 15px;
        font-size: 16px;
    }
}

.centered-button {
    display: flex;
    justify-content: center;
}

.custom-button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    color: white;
    background-color: rgb(206, 81, 9);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    margin: 2px;
}

.custom-button:hover {
    background-color: rgb(250, 204, 118);
    color: white;
    text-decoration: none;
}

.custom-button:focus {
    outline: none;
}

.custom-button:active {
    transform: translateY(1px);
}

/* Responsividad para botones */
@media (max-width: 768px) {
    .custom-button {
        padding: 10px 15px;
        font-size: 12px;
        margin: 5px 2px;
        width: 100%;
        text-align: center;
    }
}

.custom-select {
    width: 100%;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    overflow: visible;
}

.custom-select option:first-child {
    color: #888;
}

.custom-select:focus {
    outline: none;
}

.custom-select::after {
    content: '\25BC';
    position: absolute;
    top: calc(50% - 8px);
    right: 10px;
    font-size: 12px;
    pointer-events: none;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

footer {
    text-align: center;
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e9ecef;
    color: rgb(10, 10, 10);
}

.footer-text {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
    color: #6c757d;
    text-align: center;
}

thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #343a40;
    color: #fff;
}

h1 {
    display: inline-block;
    font-size: 1.5em;
}

/* Segundo conjunto de estilos */
body {
    margin: 0;
    font-family: 'Frutiger Light', Arial, sans-serif;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.navbar-light {
    background-color: rgba(0, 0, 0, 0.76) !important;
}

.navbar-brand img {
    height: 40px;
    vertical-align: middle;
}

h1 {
    margin: 0;
    color: black;
}

.custom-button {
    margin-top: 10px;
}

.centered-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.navbar-nav a {
    color: rgb(206, 81, 9);
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: black;
}

.btn.btn-primary {
    background-color: rgb(206, 81, 9);
    border-color: black;
    color: white;
}

.btn.btn-primary:hover {
    background-color: white;
    color: rgb(206, 81, 9);
}

.container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-card {
    width: 100%;
    max-width: 500px; /* Ajusta según tus necesidades */
    margin-bottom: 20px; /* Ajusta según tus necesidades */
}

.card-header,
.card-body {
    text-align: center;
}

/* Agrega estas reglas para el fondo de imagen en dispositivos móviles */
@media (max-width: 767px) {
    .navbar {
        background-size: cover;
        background-position: center;
        /* background-image: url('/public/assets/img/fachada-mobile.jpeg'); */ /* Imagen comentada temporalmente */
    }

    .navbar img {
        display: none; /* Oculta la imagen si se muestra como un elemento en línea */
    }

    .navbar-brand {
        display: none; /* Opcional: puedes ocultar el logo en dispositivos móviles si lo deseas */
    }

    .navbar img.mobile-bg {
        display: block; /* Muestra la imagen en dispositivos móviles */
        width: 100%;
    }

    h1.mobile-heading {
        display: none; /* Opcional: puedes ocultar el encabezado en dispositivos móviles si lo deseas */
        color: black;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .custom-button {
        margin: 5px 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .navbar-toggler-icon {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        content: "";
        background: no-repeat center center;
        background-size: 100% 100%;
        background-color: rgb(206, 81, 9);
        border-color: transparent;
        border-radius: 50px; /* Ajusta según tus necesidades */
    }
}

/* Estilos para modales mejorados */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.modal-footer {
    border-top: none;
    border-radius: 0 0 10px 10px;
}

/* Estilos para campos inválidos */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80% {
        transform: translateX(-2px);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(2px);
    }
}

/* Spinner personalizado */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* Iconos en modales */
.modal-title i {
    margin-right: 8px;
}

/* Animación para los modales */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsividad para modales */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-content {
        border-radius: 5px;
    }
    
    .modal-header {
        padding: 15px;
        border-radius: 5px 5px 0 0;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 10px 15px;
        border-radius: 0 0 5px 5px;
    }
}

/* Responsividad para footer */
@media (max-width: 768px) {
    footer {
        padding: 15px 0;
        margin-top: 20px;
    }
    
    .footer-text {
        font-size: 12px;
        text-align: center;
    }
}

/* Estilos para iconos en navbar */
.navbar-nav .custom-button i {
    margin-right: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .custom-button:hover i {
    transform: scale(1.2);
    color: white;
}

.navbar-nav .custom-button.active {
    background: linear-gradient(45deg, rgb(230, 100, 30), rgb(206, 81, 9));
    box-shadow: 0 4px 15px rgba(206, 81, 9, 0.4);
}

.navbar-nav .custom-button.active i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Mejoras para navegación responsive */
@media (max-width: 768px) {
    .navbar-nav .custom-button {
        margin: 3px 0;
        width: 100%;
        justify-content: flex-start;
    }
    
    .navbar-nav .custom-button i {
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }
}

/* Forzar centrado del footer */
footer .footer-text {
    text-align: center !important;
}

footer .container, footer .row, footer .col-12 {
    text-align: center !important;
}
