/* Estilo de fondo degradado más suave */
@font-face {
    font-family: 'Dau Font';
    src: url('intranet/assets/fonts/felixtitlingmt.ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #FFFFFF, #F0D9E7); /* Blanco a rosa muy claro */
    min-height: 100vh; /* Asegura que el degradado cubra toda la altura */
    display: flex;
    flex-direction: column;
}
/* Estilo para las tarjetas - más delicado, menos sombra */
.card-item {
    background-color: rgba(255, 255, 255, 0.95); /* Fondo blanco casi opaco para las tarjetas */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Sombra más sutil */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 16px; /* Bordes más redondeados para un look Android */
}
.card-item:hover {
    transform: translateY(-3px); /* Efecto de elevación más suave al pasar el ratón */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra ligeramente más pronunciada al pasar el ratón */
}
/* Estilo del encabezado y pie de página */
header, footer {
    background-color: #C27D7D; /* Mantener el rosa vieja original para el encabezado/pie */
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.service-info{
    width: 70%;
    min-width: 70%;
}

.service-price{
    width: 20%;
}

.service-info h3 {
    font-weight: 500;
    margin-bottom: 4px;
}

.service-info p {
    color: #666;
    font-size: 14px;
}

.service-price {
    font-weight: 700;
    color: #c27d7d;
    font-size: 18px;
}

.add-btn {
    background-color: #c27d7d;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 14px;
}

.cart-container {
    position: fixed;
    bottom: 90px;
    right: 10px;
    text-align: -webkit-right;
    z-index: 1;
}

.cart-btn {
    background-color: #c27d7d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 1px 2px 7px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.com-btn {
    background-color: #c27d7d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 1px 2px 7px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
}

.home-btn {
    background-color: white;
    color: #c27d7d;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 1px 2px 7px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cart-badge {
    position: absolute;
    bottom: 30px;
    right: -5px;
    background-color: #ff5722;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-total{
    font-size: 20px;
    font-weight: 700;
}

.error-message {
    color: #f44336;
    padding: 10px;
    text-align: center;
    margin: 10px 0;
    background-color: #ffebee;
    border-radius: 4px;
    display: none;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #957dad;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    width: 80%;
}

#modal-title, #title-comanda, .title-cliente{
    padding-top: 5px;
    padding-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #c27d7d;
}

.footer-btns{
    margin-top: 20px;
    text-align: right;
}

.btn-elegir{
    color: #c27d7d;
    border: solid 2px #c27d7d;
    padding: 3.5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

#cart-modal .btn-elegir{
    margin-top: 15px;
}

#client-search, #new-client-form input{
    border: 1px solid #c27d7d;
}

#new-client-form label{
    font-size: 14px;
    color: #393838;
}

#inicio .add-btn {
    padding: 12px 12px;
    width: 200px;
}

#inicio #modal-title{
    font-size: 22px;
    font-family: 'Dau Font';
    font-weight: 400 !important;
}

#inicio #modal-title span{
    font-size: 32px;
}

#inicio p{
    color: #777;
}

footer{
    position: fixed;
    bottom: 0;
    width: 100%;
}

select.my-select {
    /* Tipografía */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px; /* Tamaño pequeño */
    font-weight: 300; /* Ligeramente delgado */
    
    /* Estilo del contenedor */
    padding: 2px 5px;
    margin-top: 5px;
    border: 1px solid #e0e0e0; /* Borde sutil */
    border-radius: 4px; /* Esquinas ligeramente redondeadas */
    background-color: #f9f9f9; /* Fondo claro */
    color: #333; /* Color de texto oscuro */
    
    /* Efectos y transiciones */
    transition: all 0.3s ease;
    outline: none; /* Elimina el contorno al enfocar */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Sombra muy sutil */
    
    /* Apariencia personalizada (elimina estilos por defecto) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Flecha personalizada (opcional) */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 28px;
}

/* Efecto hover */
select.my-select:hover {
    border-color: #bdbdbd;
    background-color: #f5f5f5;
}

/* Efecto focus */
select.my-select:focus {
    border-color: #999;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Opcional: Estilo para cuando está deshabilitado */
select.my-select:disabled {
    opacity: 0.6;
    background-color: #eee;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #333;
  background-color: #f5f5f5;
  border-radius: 12px;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border: 1px solid #e0e0e0;
}

@media only screen and (max-width: 600px) {
    .notification {
        width: 96% !important;
    }

    .comanda-card .service-info, .comanda-card .service-price{
        width: 100%;
        min-width: 100%;
    }

    .comanda-card{
        display: block !important;
    }

    .comanda-card .service-info h4{
        font-size: 16px !important;
    }

    .comanda-card button{
        font-weight: 400 !important;
    }

    #inicio #modal-title{
        font-size: 18px;
    }

    #inicio #modal-title span{
        font-size: 24px;
    }
}