:root {
    --bg-light: #ffffff;
    --bg-accent: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b556极;
    --accent-primary: #2c5282;
    --accent-secondary: #0ea5e9;
    --accent-dark: #2c5282;
    --border-color: #e5e7eb;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #13233c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
	max-width: 250px;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo span {
    color: var(--accent-primary);
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover, a.active {
    color: var(--text-primary);
}

nav a.active::after, nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
}

/* Main Content */
main {
    flex: 1;
    padding: 3rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
	
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
	padding-bottom:60px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Dashboard */
.dashboard {
    background: var(--bg-light);
    border-radius: 1.4rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
	margin-top:-80px;
}

.dashboard-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h2 {
    font-size: 1.75rem;
    font-weight: 7极;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--text-secondary);
}

.dashboard-body {
    padding: 1rem;
	
}

.search-section {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

select, input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

select:focus, input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    background: #1578b0;
    transform: translateY(-2px);
}

.error-message {
    color: var(--danger);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    display: none;
}

/* Service Cards */
.services-section {
    display: none;
    padding: 2rem 0;
}

.section-header {
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-id {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-status {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.status-active {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.status-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.service-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-details {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.service-price {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Invoice Table */
.invoices-section {
    display: none;
    padding: 2rem 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

thead th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-accent);
}

tbody tr:hover td {
    background: var(--bg-accent);
}

.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.paid {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Footer */
footer {
			background-color: #f8f9fa;
            padding: 1px 0;
            text-align: center;
            border-top: 2px solid #1e9bd7;
            position: fixed; /* Fija el footer en la parte inferior */
            bottom: 0; /* Alinea el footer al fondo */
            width: 100%; /* Asegura que el footer ocupe todo el ancho */
}
.logof{
	margin-top:2%;
	height: auto; 
	max-width: 60%;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
}

/* Stats Summary */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: rgba(30, 155, 215, 0.1); /* Color de fondo suave (azul claro) */
    border-radius: 1rem; /* Bordes redondeados */
    padding: 2rem; /* Espaciado interno */
    text-align: center; /* Centrar el texto */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transiciones suaves */
    position: relative; /* Para efectos de pseudo-elementos */
}

.stat-card:hover {
    transform: translateY(-5px); /* Elevar la tarjeta al pasar el mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Aumentar la sombra al pasar el mouse */
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem; /* Bordes redondeados */
    background: rgba(255, 255, 255, 0.1); /* Capa blanca semi-transparente */
    z-index: 0; /* Colocar detrás del contenido */
}

.stat-card h3 {
    margin: 0; /* Eliminar margen */
    font-size: 1.5rem; /* Tamaño de fuente */
    color: var(--text-primary); /* Color del texto */
    z-index: 1; /* Colocar encima del pseudo-elemento */
    position: relative; /* Para que el z-index funcione */
}

.stat-card p {
    margin-top: 0.5rem; /* Espaciado superior */
    color: var(--text-secondary); /* Color del texto secundario */
    z-index: 1; /* Colocar encima del pseudo-elemento */
    position: relative; /* Para que el z-index funcione */
}


.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Loader */
.loader-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

.status-paid {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-pending {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}
.modal-content {
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.modal-header {
    background-color: #1e9bd7 !important; /* Bootstrap primary color */
    color: white; /* White text */
    border-bottom: none; /* Remove border */
}

.modal-title {
    font-weight: bold; /* Bold title */
}

.modal-body {
    padding: 20px; /* Add padding */
}

.form-group label {
    font-weight: bold; /* Bold labels */
}

.form-control {
    border-radius: 5px; /* Rounded input fields */
    border: 1px solid #ced4da; /* Light border */
}

.form-control:focus {
    border-color: #007bff; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add shadow on focus */
}

.btn-primary {
    background-color: #1e9bd7 !important;  /* Bootstrap primary color */
    border-color: #1578b0 !important; /* Match border color */
}

.btn-primary:hover {
    background-color: #1578b0 !important;/* Darker shade on hover */
    border-color: #0f5a8a !important; /* Match border color */
}

#payment-status {
    margin: 20px 0; /* Add margin */
}

#validation-result-container {
    margin-top: 15px; /* Add margin */
}
.bank-info {
    margin-bottom: 15px; /* Espaciado entre los bloques de información del banco */
}

.bank-info hr {
    border: 1px solid #007bff; /* Color de la línea horizontal */
    margin: 10px 0; /* Espaciado arriba y abajo de la línea */
}

.bank-label {
    background-color: #f8f9fa; /* Color de fondo claro */
    color: #343a40; /* Color del texto */
    padding: 10px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados */
    margin-bottom: 10px; /* Espaciado entre etiquetas */
    display: flex; /* Usar flexbox para alinear el ícono y el texto */
    align-items: center; /* Centrar verticalmente el contenido */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para dar profundidad */
}
.bank-label i {
    margin-right: 10px; /* Espaciado entre el ícono y el texto */
    color: #1e9bd7;  /* Color del ícono */
    font-size: 1.2em; /* Tamaño del ícono */
}
strong {
    color: #1e9bd7; /* Color azul para el texto en negrita */
}
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.invoice-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    color: var(--text-secondary);
}

.btn-icon:hover {
    background-color: var(--bg-accent);
    color: var(--accent-primary);
}

.download-btn {
    color: var(--success);
}

.pay-btn {
    color: var(--warning);
}

.view-details-btn {
    color: var(--accent-primary);
}

.invoice-status {
    display: inline-block; /* Asegura que el label se ajuste al contenido */
    padding: 8px 15px; /* Espaciado interno */
    border-radius: 25px; /* Bordes redondeados */
    color: white; /* Color del texto */
    font-weight: bold; /* Texto en negrita */
    text-align: center; /* Centrar el texto */
    font-size: 0.9em; /* Tamaño de fuente más pequeño */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Transiciones suaves */
}

.label-success {
    background: linear-gradient(90deg, #4caf50, #388e3c); /* Gradiente verde */
}

.label-warning {
    background: linear-gradient(90deg, #ffeb3b, #fbc02d); /* Gradiente amarillo */
    color: black; /* Color del texto para mejor contraste */
}

.label-danger {
    background: linear-gradient(90deg, #f44336, #c62828); /* Gradiente rojo */
}

/* Efecto de hover */
.invoice-status:hover {
    transform: translateY(-2px); /* Levantar el label al pasar el mouse */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Aumentar la sombra al pasar el mouse */
}
/* Estilos para el botón "Ver Detalles del Contrato" en tarjetas de servicio */
.service-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.btn-ver-detalles-servicio {
    background: linear-gradient(135deg, #1e9bd7 0%, #1578b0 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 155, 215, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.btn-ver-detalles-servicio:hover {
    background: linear-gradient(135deg, #1578b0 0%, #0d5a8a 100%);
    box-shadow: 0 6px 16px rgba(30, 155, 215, 0.5);
    transform: translateY(-2px);
}

.btn-ver-detalles-servicio:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 155, 215, 0.3);
}

.btn-ver-detalles-servicio i {
    font-size: 1.1rem;
}

/* Estilos para el Modal de Detalles del Servicio */
.modal-detalles-servicio {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-detalles-servicio.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-detalles-content-servicio {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-detalles-header-servicio {
    background: linear-gradient(135deg, #1e9bd7 0%, #1578b0 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.modal-detalles-header-servicio h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-detalles-header-servicio h3 i {
    font-size: 1.6rem;
}

.modal-close-btn-servicio {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn-servicio:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-detalles-body-servicio {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.detalle-item-servicio {
    display: flex;
    padding: 15px;
    margin-bottom: 12px;
    background: #f9fafb;
    border-radius: 10px;
    border-left: 4px solid #1e9bd7;
    transition: all 0.2s ease;
}

.detalle-item-servicio:hover {
    background: #e8f4f8;
    transform: translateX(5px);
}

.detalle-item-servicio i {
    color: #1e9bd7;
    font-size: 1.3rem;
    margin-right: 15px;
    min-width: 25px;
    display: flex;
    align-items: center;
}

.detalle-content-servicio {
    flex: 1;
}

.detalle-label-servicio {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: block;
}

.detalle-value-servicio {
    color: #555;
    font-size: 1rem;
    word-break: break-word;
}

/* Animaciones para el modal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Query para pantallas móviles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem; /* Tamaño de fuente más pequeño para móviles */
		padding-bottom:20px;
    }
    .logo {
        max-width: 70%; /* Aumentar el tamaño del logo en móviles */
        font-size: 2.2rem; /* Tamaño de fuente más grande para móviles */
    }
	 .dashboard {
        margin-top: -40px; /* Ajustar el margen superior en móviles */
		max-width:100%;
    }
    .dashboard-header {
        padding: 1rem; /* Reducir el padding en móviles */
    }
    .dashboard-header h2 {
        font-size: 1.5rem; /* Tamaño de fuente más pequeño para móviles */
    }
    .dashboard-header p {
        font-size: 0.9rem; /* Tamaño de fuente más pequeño para el texto secundario */
    }
    .dashboard-body {
        padding: 0.5rem; /* Reducir el padding en el cuerpo del dashboard */
    }
	.container {
        max-width: 100%; /* Ancho completo en móviles */
        padding: 0 0.5rem; /* Reducir el padding horizontal en móviles */
    }
	#invoices-table th, 
    #invoices-table td {
        font-size: 0.9rem; /* Reducir el tamaño de la fuente */
        padding: 0.5rem; /* Reducir el padding */
    }
    /* Alinear acciones en la fila correspondiente */
    #invoices-table td:last-child {
        display: flex; /* Usar flexbox para alinear botones */
        justify-content: space-between; /* Espacio entre botones */
        gap: 0.5rem; /* Espacio entre botones */
    }
    /* Opcional: Ocultar columnas no esenciales */
    #invoices-table th:nth-child(3), /* Vencimiento */
    #invoices-table td:nth-child(3) {
        display: none; /* Ocultar columna de vencimiento */
    }
    #invoices-table th:nth-child(6), /* Estado */
    #invoices-table td:nth-child(6) {
        display: none; /* Ocultar columna de estado */
    }
	   
     .items-table th, 
    .items-table td {
        font-size: 0.9rem; /* Asegurarse de que el tamaño de la fuente sea adecuado */
    }
	 .modal-content {
        max-width: 99%; /* Ancho máximo del modal en móviles */
		overflow-y: auto; /* Permitir el scroll horizontal */
		 -webkit-overflow-scrolling: touch; /* Mejora el scroll en dispositivos táctiles */
        
    }
	 .items-table {
    overflow-x: auto; /* Permitir el scroll horizontal */
    -webkit-overflow-scrolling: touch; /* Mejora el scroll en dispositivos táctiles */
}
	
}

#invoices-table {
    width: 100%; /* Asegurarse de que la tabla ocupe el 100% del contenedor */
    border-collapse: collapse; /* Colapsar bordes para una mejor apariencia */
}
#invoices-table th, 
#invoices-table td {
    padding: 0.75rem; /* Espaciado interno para celdas */
    text-align: left; /* Alinear texto a la izquierda */
    border: 1px solid var(--border-color); /* Bordes para celdas */
}

.table-responsive {
    overflow-x: auto; /* Permitir el scroll horizontal */
    -webkit-overflow-scrolling: touch; /* Mejora el scroll en dispositivos táctiles */
}

.items-table {
    width: 100%; /* Asegurarse de que la tabla ocupe el 100% del contenedor */
    border-collapse: collapse; /* Colapsar bordes para una mejor apariencia */
}

.items-table th, 
.items-table td {
    padding: 0.5rem; /* Espaciado interno para celdas */
    text-align: left; /* Alinear texto a la izquierda */
    border: 1px solid var(--border-color); /* Bordes para celdas */
    font-size: 0.9rem; /* Reducir el tamaño de la fuente en móviles */
}

/* Estilos para Tabs del Modal */
.tabs {
    width: 100%;
}

.tab-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.tab-btn:hover {
    color: var(--accent-primary);
    background: rgba(30, 155, 215, 0.05);
}

.tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    background: rgba(30, 155, 215, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal de Pago - Hacer más ancho */
#modalPago .modal-dialog {
    max-width: 700px !important;
    width: 95% !important;
}

#modalPago .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#modalPago .modal-body {
    padding: 1.5rem 2rem;
}

/* Estilos para data-row en transferencias */
.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.data-row p {
    margin: 0;
    flex: 1;
}

.data-row .btn {
    flex-shrink: 0;
}

/* Responsive para modal en móviles */
@media (max-width: 768px) {
    #modalPago .modal-dialog {
        max-width: 95% !important;
        margin: 1rem;
    }
    
    .tab-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 auto;
        min-width: 120px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Estilos responsive para modal de detalles de servicio */
    .btn-ver-detalles-servicio {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .modal-detalles-content-servicio {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-detalles-header-servicio {
        padding: 15px 20px;
    }
    
    .modal-detalles-header-servicio h3 {
        font-size: 1.2rem;
    }
    
    .modal-detalles-body-servicio {
        padding: 20px;
    }
    
    .detalle-item-servicio {
        flex-direction: column;
        padding: 12px;
    }
    
    .detalle-item-servicio i {
        margin-bottom: 8px;
    }
}

