﻿:root {
    --bs-btn-bg: #A6246C;
}
.login-container {
    max-width: 600px;
    padding: 0 15px 15px;
    min-height: 500px;
}

.login-background {
    background-image: url("/images/background.jpg");
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
}

#sidebar-offcanvas {
    z-index: 2;
}
#sidebar-toggler {
    position: absolute;
    left: 100%;
    bottom: 25px;
    z-index: 2;
}

#sidebar-offcanvas-toggler {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
}

nav .active {
    color: black !important;
}

.nav-pills .nav-link:hover {
    color: var(--bs-emphasis-color) !important;
}

.nav-pills .nav-link:active {
    color: var(--bs-black) !important;
    background: var(--bs-primary-bg-subtle) !important;
}

#loader {
    position: absolute;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-content: center;
    color: var(--bs-primary);
    background-color: rgba(0, 0, 0, 0.5);
}

    #loader > div {
        width: 5rem;
        height: 5rem;
    }

html[data-bs-theme="dark"] .logo {
    content: url("/images/logo-dark2.png");
}

main:has(> .with-background) {
    /*background-image: url("/images/background3.jpg");*/
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-size: cover;
}

.with-background {
    /*background-image: url("/images/background3.jpg");*/
    background-color: #f2f2f2;
    background-size: cover;
    background-position: center;
    background-position: center;
    backdrop-filter: /*blur(5px)*/ brightness(70%);
    height: 100% !important;
}

.with-background-black {
    /*background-image: url("/images/background3Black.jpg");*/
    background-color: #f2f2f2;
    /* background-size: cover;
    background-position: center;*/
    background-position: center;
    backdrop-filter: /*blur(5px)*/ brightness(70%);
    height: 100% !important;
}

    .with-background .logo {
        content: url("/images/logo-dark2.png");
    }

.swal-footer {
    display: flex;
    justify-content: space-around;
}

table a {
    color: var(--bs-body-color);
}

.table-group-divider {
    border-top-color: var(--bs-primary);
}


@font-face {
    font-family: 'Frutiger Light', sans-serif;
    src: url('../fonts/Frutiger Light.ttf') format('truetype'); /* Ajusta la ruta y el formato según tu fuente */
}

body {
    font-family: 'Frutiger Light', sans-serif;
}

label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .table-grid > div {
        display: flex;
        flex-direction: column;
    }

.shadow-logo {
    box-shadow: 5px 0.5rem 0.3rem rgba(0, 0, 0, 0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
}

.form-control-plaintext {
    padding: 0.375rem 0.75rem!important;
}

html {
    overflow-y: hidden
}

/* Layout */

.top-bar {
    height: 5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

#notification-list{
    z-index:3;
}

.main-content {
    padding-top: calc(5rem + 1px);
    z-index: 1;
}

aside {
    position: relative;
    z-index: 1000;
}

.nav-principal a.nav-link {
    color: #1C66A6 !important;
    font-weight: 600;
}

.icon-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    background: linear-gradient(307deg, rgb(158, 32, 100) 0%, rgb(158, 32, 100) 100%);
    border: none;
    outline: none;
    border-radius: 50%;
}

    .icon-button:hover {
        cursor: pointer;
    }

    .icon-button:active {
        background: #1a1f4e;
    }

.notification-counter {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: red;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

input[type="file"] {
    border: 0;
    box-shadow: none;
    display: inline-block;
    height: auto;
    padding: 0;
    position: relative;
    width: 60%;
}

input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

input[type="file"].uploaded::before {
    content: attr(data-content);
}

input[type="file"]::before {
    content: 'Seleccionar archivo';
    border: 1px solid #eaeaea !important;
    border-radius: 4px;
    box-shadow: none;
    color: var(--black);
    display: inline-block;
    font-size: 16px;
    line-height: 45px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

input[type="file"]::after {
    content: "\f093";
    color: var(--site3);
    display: inline-block;
    font-family: FontAwesome;
    font-size: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
}

.dato-anterior {
    color: #FF6F61;
    font-weight: bold;
    font-size: 14px;
    background-color: #fff3cd;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 5px;
}

.cambio-solicitado{
    color: #FF6F61;
    font-weight: bold;
    font-size: 14px;
    background-color: #fff3cd;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 5px;
}

//TPV

/*.donation-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.donation-options div {
    flex-basis: 24%;
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f8f8f8;
}

    .donation-options div.selected {
        background-color: #ff8c00;
        color: #fff;
        border-color: #ff8c00;
    }

.form-section {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.right-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 15px;
}

    .faq-item a {
        color: #ff8c00;
        text-decoration: none;
    }

        .faq-item a:hover {
            text-decoration: underline;
        }

.checkbox-section {
    display: flex;
    align-items: center;
}

    .checkbox-section input {
        margin-right: 10px;
    }

.donation-buttons {
    display: flex;
    justify-content: space-between;
}

    .donation-buttons button {
        flex-basis: 48%;
    }

.frecuencia {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2em;
    margin-bottom: 10px;
}

    .frecuencia button, .periocidad button, .donation-options button {
        position: relative;*/ /* Esto es importante para que el ::after funcione */
        /*border-radius: 30px;
        width: 150px;
        height: 40px;
        border: 1px solid grey;
        background-color: #f0f0f0;
        color: #555;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .frecuencia button.active, .periocidad button.active, .donation-options button.active {
            background-color: #ff8c00;
            color: white;
        }

            .frecuencia button.active::after {
                content: '✔';
                position: absolute;
                left: 10px;
                top: 3px;
                font-size: 20px;
                color: white;
            }

.periocidad, .donation-options {
    display: none;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2em;
    margin-bottom: 10px;
}

.otraCuota {
    display: none;
}*/
