
body {
    background-color: #f8f9fa;
    font-family: "Montserrat", sans-serif;
}

.container {
    max-width: 800px;
    margin-top: 50px;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-align: center;
}
.container-secundary {
    max-width: 400px;
    margin-top: 50px;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-align: left;
}

.container.custom {
    max-width: 800px;
    margin-top: 50px;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-align: left;
}

h1, h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}


.form-group {
    text-align: left;
}

.form-control {
    border-radius: 20px;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border: 1px solid #ced4da;
}

/* Estilo para los placeholders en input */
.form-control::placeholder {
    color: #837e7e; /* Cambia este valor al color que prefieras */
    opacity: 1; /* Asegúrate de que el placeholder sea completamente visible */
}




.btn-primary {
    background-color: #6c63ff;
    border-color: #6c63ff;
    border-radius: 30px;
    padding: 0.75rem 1rem;

}

.btn-primary:hover {
    background-color: #5953cc;
    border-color: #5953cc;
}

.btn-secondary {
    color: white;
    margin-top: 10px;
    border-radius: 30px;
    padding: 0.75rem 1rem;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select {
    border-radius: 20px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    margin-bottom: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
}

.custom-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    background: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMiAxMiI+PHBhdGggZD0iTTggNS4yTDMuNiA5LjRjLS4yLjItLjQuMy0uNi4zcy0uNC0uMS0uNi0uM0wxIDUuMmMtLjMtLjMuMy0uOS42LS42bDMuNCAzLjQgMy40LTMuNGMuMy0uMy45LjMuNi42eiIvPjwvc3ZnPg==') no-repeat center;
    pointer-events: none;
    transform: translateY(-50%);
}

.flag-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.flag-select {
    display: flex;
    align-items: center;
}

.hidden {
    display: none;
}

#cuento-container img {
    margin-top: 20px;
    border-radius: 10px;
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.widget {
    width: 100%;
    max-width: 150px;
    height: 150px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border: 2px solid transparent;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.widget img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.widget.active {
    border-color: #007bff;
}

.crear img {
    content: url('/images/crear.png');
}

.historias img {
    content: url('/images/historias.png');
}

.recargar img {
    content: url('/images/recargar.png');
}

.historia {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.historia:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.historia img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.historia .details {
    flex: 1;
}

.historia .details h5 {
    margin: 0;
    font-size: 1.25rem;
}

.historia .details p {
    margin: 5px 0 0;
    color: #6c757d;
}

.btn-block {
    margin-top: 30px;
}


#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    background: #25b09b;
    --_m: 
      conic-gradient(#0000 10%,#000),
      linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
            mask: var(--_m);
    -webkit-mask-composite: source-out;
            mask-composite: subtract;
    animation: l3 1s infinite linear;
  }
  @keyframes l3 {to{transform: rotate(1turn)}}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}
.historia {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.historia:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.historia img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}
.historia .details {
    flex: 1;
}
.historia .details h5 {
    margin: 0;
    font-size: 1.25rem;
}
.historia .details p {
    margin: 5px 0 0;
    color: #6c757d;
}
.btn-block {
    margin-top: 30px;
}

.btn-primary {
    background-color: #6c63ff;
    border-color: #6c63ff;
    border-radius: 30px;
    padding: 0.75rem 1rem;
}
.btn-secondary {
    margin-top: 10px;
    border-radius: 30px;
    padding: 0.75rem 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.pagination button {
    background-color: #6c63ff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 8px;
    border-radius: 5px;
    cursor: pointer;
}
.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/*cuento */

.detalle-container {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.detalle-historia{
    text-align: center;
}
.detalle-historia img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}
.detalle-historia h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.detalle-historia p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}
/* ---------------------- */
