a.borrar_linea 
{
	color:red;
}
a.acesta
{
	color:#0dcaf0;
}
p
{
	font-size:1.5rem;
}
#ticket
{			
	font-size: 10px!important;
}
.impresion {
	font-family: Arial, sans-serif;
	width: 70mm;
}
/* TICKET */
.impresion table th.totales_tit {
	text-align:right;
	padding-bottom:0px;
}
.impresion table th.totales 
{
	text-align:right;
	padding-bottom:0px;
}
.impresion table th.totales p,
.impresion table thead
{
	font-size:12px !important;
}
.impresion .header p
{
	font-size:12px!important;
}
.impresion h2
{
	font-size:14px!important;
}
.impresion h3
{
	font-size:12px!important;
}
.impresion p
{
	font-size:10px!important;
}
.impresion > div.header {
	margin-bottom: 10px;
}
.impresion .details, 
.impresion .totals {
	margin-bottom: 10px;
}
.impresion table {
	width: 100%;
	border-collapse: collapse;
}
.impresion table, th, td {
	border: 1px solid black;
}
.impresion th, td {
	text-align: left;
	padding: 5px;
}
/* Estilo general del cuerpo */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Secciones */
.section {
    background-color: #ffffff;
    width: 33%;
    min-width: 300px;
}

.section:hover {
    transform: translateY(-5px);
}

/* Títulos de las secciones */
.section p {
    color: #4CAF50;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Texto en las secciones */
.section .price {
    color: #555;
    font-size: 16px;
}

/* Precios */
.section .price {
    font-weight: bold;
    color: #E57373;
}

/* Estilo del carrito */
#cesta table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#cesta table th, #cesta table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

#cesta table th {
    background-color: #f2f2f2;
    color: #333;
}

#cesta table td {
    color: #666;
}

#cesta .total {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-top: 15px;
}

/* Botones */
button, #cesta #finalizar_pago {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover, #cesta #finalizar_pago:hover {
    background-color: #45a049;
}

button:focus, #cesta #finalizar_pago:focus {
    outline: none;
    background-color: #388E3C;
}
button, #cesta #borrar_cesta {
    background-color: grey;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover, #cesta #borrar_cesta:hover {
    background-color: lightgrey;
}

button:focus, #cesta #borrar_cesta:focus {
    outline: none;
    background-color: lightgrey;
	border-color: lightgrey;
	box-shadow:none;
}


/* Estilo general del modal */
.modal {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 40%;
    max-width: 95%; /* Para adaptarse a pantallas pequeñas */
    max-height: 80vh; /* Limitar la altura al 80% de la ventana */
    overflow-y: auto; /* Añadir scroll si el contenido excede la altura */
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000; /* Asegurar que esté por encima de otros elementos */
    animation: fadeIn 0.3s ease-in-out;
}


/* Animación de aparición */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Encabezado del modal */
.modal-header {
    font-size: 20px;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Campos del formulario */
.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Labels */
.modal label {
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

/* Inputs y select */
.modal input, .modal select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.modal input:focus, .modal select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Botones */
.modal button {
    background-color: #DDD;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.modal button#btnNuevoCliente,
.modal button#btnNuevoClienteCita,
.modal button#btnCancelarCliente
{
	background-color: #29b6f5;
	border-color: #1cb2f4;
}

.modal button:hover {
    background-color: #eee;
    transform: translateY(-2px);
}

.modal button:focus {
    outline: none;
}

/* Botón Cerrar */
.modal .close-btn {
    background-color: #E57373;
}

.modal .close-btn:hover {
    background-color: #D32F2F;
}

/* Tabla de información dentro del modal */
.modal table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.modal table th, .modal table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.modal table th {
    color: #333;
}

.modal table td {
    color: #555;
}
.payment-option {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background-color: #f0fdf4;
    border-color: #4CAF50;
}

.modal #pagar,
.modal #cita
{
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(rgba(0, 0, 0, 0.1);
}
.modal #pagar:hover {
    background-color: #45a049;
    transform: translateY(-2px); /* Pequeño efecto de elevación */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}
.salir
{
	color: white!important;
}

@media print {
    body * {
        visibility: hidden; /* Oculta todo excepto el modal */
    }
    #modalticket, #modalticket * {
        visibility: visible; /* Hace visible solo el modal */
    }
    #modalticket {
        position: absolute;
        top: 0;
        left: 0;
    }
}
