﻿@font-face {
    font-family: poppins_regular;
    src: url(fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: poppins_regular;
    src: url(fonts/Poppins-SemiBold.ttf);
    font-weight: 700;
}

:root {
    --primary: #fd4f00;
    --primaryHover: #e34700;
    --white: #ffffff;
}

* {
    font-family: poppins_regular;
}

/* CSS para la pantalla de login */
form#loginForm {
    width: 60%;
    min-height: 100vh;
    padding: 250px 100px 55px 100px;
}

input.form-control {
    background-color: #D8D8D8 !important;
}

input.form-control-lg {
    border-radius: .6rem !important;
}


#cabLogin {
    font-weight: 700;
}

#formContainer {
    max-width: 500px;
    margin: 0 auto;
}

div.imgLogin {
    background-image: url(../imgs/operario.png);
    width: 40%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

#logo {
    position: absolute;
    top: 35px;
    left: 35px;
}

.btn-primary {
    background-color: #fd4f00;
    border-color: #fd4f00;
    border-radius: .6rem !important;
}

    .btn-primary:hover {
        background-color: #e34700;
        border-color: #e34700;
    }

/* Banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 25%;
    width: 50%;
    border-radius: 15px 15px 0 0;
    background-color: #313131;
    color: #fff;
    padding: 10px 25px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

    .cookie-content .tab-pane {
        max-height: 250px;
        overflow-y: auto;
    }

.cookie-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Maquetación de secciones de maestro mediante el uso de tabs*/
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

    .nav-tabs button.nav-link {
        text-transform: uppercase;
        font-weight: 700;
        color: black;
        opacity: .35;
        border-top: none;
        border-left: none;
        border-right: none;
    }

        .nav-tabs button.nav-link.active {
            opacity: 1;
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
        }

        .nav-tabs button.nav-link:not(.active):hover {
            opacity: .6;
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
        }

div.tab-pane {
    padding: .4rem 1rem;
}

/* Subimos la velocidad del efecto de transicion entre tabs */
.fade {
    transition: opacity .05s linear !important;
}

@media (max-width: 768px) {
    div.imgLogin {
        display: none;
    }

    form#loginForm {
        width: 100%;
    }
}