/* Estilos personalizados sobre Bootstrap */
@font-face{
    font-family: fuenteRandom;
    src: url(./fuentes/Quicksand-Regular.ttf)
}

body {
    background-color: #f5f5f5;
    font-family: fuenteRandom;
}


.container {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 80px; /* Espacio para navbar fija */
}

/* Header personalizado */
.header {
    background-color: #ff6b00;
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.header i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.header .back-btn {
    left: 1rem;
    color: white;
    cursor: pointer;
}

.header .menu-btn {
    right: 1rem;
    color: white;
    cursor: pointer;
}

/* Tarjetas*/
.card {
    border: none;
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-3px);
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6b00;
}

.titulo{
    font-weight: bold;
}

.cantidad{
    font-size: 15px;
}

.cursor{
    cursor: pointer;
}

.oculto{
    display: none;
}

/*tamaño de texto*/
.fs-7{
    font-size: 13px;
}

.fs-8{
    font-size: 11px;
}


/* Tab bar fija */
.tab-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #eee;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}
.tab-item.active {
    color: #0d6efd ;
}
.tab-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 3px;
}

/* Imagen de carga */
.image-upload {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.image-upload:hover {
    border-color: #ff6b00;
    background-color: #fff8f0;
}
.image-upload i {
    font-size: 40px;
    color: #ddd;
    margin-bottom: 10px;
}
.uploaded-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    margin: 10px auto;
}

/* Modales */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}
.modal-header {
    border-bottom: none;
    padding: 20px 20px 10px;
}
.modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}
.close-modal {
    font-size: 1.5rem;
    color: #666;
    opacity: 1;
}
.modal-body {
    padding: 20px;
    text-align: center;
}
.modal-footer {
    border-top: none;
    padding: 10px 20px 20px;
    justify-content: center;
}


/* Formularios */
.form-control {
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
}
.form-label {
    font-weight: 600;
    color: #555;
    margin-top: 10px;
    font-size: 12px !important;
    padding: 0;
    margin: 0;
}
.btn-block {
    width: 100%;
}

/*calendario*/
#app-container {
    position: relative;
}

#app-container .datepicker {
    position: absolute !important;
    left: 50% !important;
    top: 200px !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1050;
}

/* Aumentar padding general del datepicker */

.datepicker-days,.datepicker-months,.datepicker-years,.datepicker-decades,.datepicker-centuries{
    width: 300px;
}

.datepicker-days table tr td,
.datepicker-months table tr td,
.datepicker-years table tr td,
.datepicker-decades table tr td,
.datepicker-centuries table tr td
{
    width: 300px;
}

