html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-image: url('https://res.cloudinary.com/dutdyxsvb/image/upload/v1760383426/Cancha-Segu_lctskn.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
    line-height: 50px;
}

.hero-section {
    position: relative;
    color: #000;
}

.hero-section .container {
    padding-top: 150px;
    padding-right: 10%;
    width: 100%;
    max-width: none;
}

.hero-section h1 {
    font-size: 2.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 100px;
    right: 30px;
    color: white;
    font-size: 25px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 5px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    background: #20b955;
    color: white;
}

/* Texto blanco siempre para el botón Registrarse */
.btn-success {
    background: #198754!important;
}
.btn-success,
.btn-success:visited,
.btn-success:focus {
    
    color: white !important;
    text-decoration: none !important;
}

.btn-success:hover {
    background: #157347!important;
    color: white !important;
}

.hero-section .container {
    color: #071833 !important;
}

.navbar {
    padding: 0px;
}
.navbar-toggler.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Si usas la versión más reciente de Bootstrap que usa CSS variables: */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

@media (max-width: 991.98px) {
    /* 991.98px es el punto de quiebre (breakpoint) de Bootstrap para 'lg' */
    .navbar-toggler {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
        line-height: 1.5;
        background-color: #343a40;
        color: #f8f9fa;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.3rem;
    }

    .navbar-toggler:hover,
    .navbar-toggler:focus {
        background-color: #495057;
        border-color: rgba(255, 255, 255, 0.4);
        color: #ffffff;
        box-shadow: none;
    }

    /* Asegurar que el span interno (el texto) herede los estilos */
    .navbar-toggler span.d-flex {
        display: inline-flex !important;
        align-items: center;
        line-height: 1;
    }
    .navbar-toggler[data-bs-target="#menuAdmin"] {
        background-color: #2c3e50;
        color: #ffffff;
        border-color: #34495e;
    }

    .navbar-toggler[data-bs-target="#menuAdmin"]:hover,
    .navbar-toggler[data-bs-target="#menuAdmin"]:focus {
        background-color: #34495e;
        border-color: #46627f;
        color: #ffffff;
    }
    /* Alinea el texto de todos los nav-items a la derecha en pantallas pequeñas */
    .navbar-collapse .navbar-nav {
        text-align: right;
        padding-right: 15px;
    }

    /* Asegura que los dropdown items también estén alineados a la derecha (si aplica) */
    .navbar-collapse .dropdown-menu {
        margin-left: auto;
        margin-right: 0;
    }

    /* Asegura que el botón "Ingresar" se alinee a la derecha */
    .navbar-collapse .btn {
        margin-left: auto;
    }
}