﻿@import url('normalize.css');
@import url('bootstrap.min.css');


/*------------------ Fuentes Locales ----------------------*/

/* Trade Gothic - Regular */
@font-face {
    font-family: 'TradeGothic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../Assets/fonts/TradeGothicLTStd.otf') format('opentype');
}

/* Trade Gothic - Bold */
@font-face {
    font-family: 'TradeGothic';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../Assets/fonts/TradeGothicLTStd-Bold.otf') format('opentype');
}

/*-------------------------------------------------------------------------------*/

:root {
    --primary: #0a54b9;
    --secondary: white;
    --background: #121212;
    --box-background: #1E1E1E;
}

body,
html {
    height: 100% !important;
    width: 100% !important;
    font-size: 15px;
    position: relative;
    font-family: 'TradeGothic', sans-serif !important;
}

body {
    background-image: url(/Assets/img/Fondo.png);
    background-size: cover, cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: 100% !important;
    /*background-color: transparent;*/
    /*background-image: linear-gradient(0deg, #0032ab 0%, #012473 100%);*/
}

.logoR {
    margin-top: 10rem;
    display: none;
    width: 100% !important;
}

.cuadroci {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    justify-content: center;
    margin-top: 5px;
}

option {
    display: inline-flex;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
    border: none;
    border-radius: 7px;
    transition: 0.5s;
    margin-bottom: 3rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0) !important;
    height: 35px;
    padding: 5px;
}

.base {
    /*background: #1e6adc;*/
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
    /*width: 100%;*/
}

.olvidoext {
    display: grid;
    justify-content: center;
}

.titulo {
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    margin-top: 10px;
}

.login {
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
}


table {
    max-width: none;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

.table {
    width: auto;
    height: auto;
    margin-bottom: 20px;
}

    .table th, .table td {
        width: auto;
        height: auto;
        padding: 8px;
        line-height: 20px;
        text-align: left;
        vertical-align: top;
        border-top: 1px solid #dddddd;
    }

    .table th {
        width: auto;
        height: auto;
        font-weight: bold;
    }

    .table thead th {
        vertical-align: bottom;
    }

.abs-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.form {
    width: 450px;
}

.letrita {
    font-size: 8px;
}

select {
    display: inline-flex;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
    border: none;
    border-radius: 7px;
    transition: 0.5s;
    margin-bottom: 3rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0) !important;
    height: 35px;
    padding: 5px;
}

.form-control {
    display: inline-flex;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
    border: none;
    border-radius: 7px;
    transition: 0.5s;
    margin-bottom: 2rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0) !important;
    height: 35px;
    padding: 5px;
}

.form-control2 {
    display: inline-flex;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
    border: none;
    border-radius: 7px;
    transition: 0.5s;
    margin-bottom: 0rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0) !important;
    height: 35px;
    padding: 5px;
}

.form-controlO {
    display: inline-flex;
    font-size: 1.1rem;
    width: 50%;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
    border: none;
    border-radius: 7px;
    transition: 0.5s;
    margin-bottom: 3rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0) !important;
    height: 35px;
    padding: 5px;
    box-shadow: 0 1px 5px 1px #000000 !important;
}

.action-button {
    width: auto;
    background: #031c5c;
    color: white;
    border: 0 none;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 15px;
}

.row {
    border-radius: 7px;
    border: white;
    margin-top: 5px;
    justify-content: center;
    align-items: center;
}

a {
    color: #f8f9fa;
    text-decoration: initial;
}

    a:hover {
        color: #d7d7d7;
    }

.btnR {
    width: 15% !important;
}

.cuadroci {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    justify-content: center;
    margin-top: 5px;
}

.border-secondary {
    /*border-color: #ffffff !important;*/
    border-bottom-color: #ffffff00 !important;
    border-top-color: white !important;
    border-left-color: #ffffff00 !important;
    border-right-color: #ffffff00 !important;
    border-radius: 0px !important;
}

body.swal2-height-auto {
    height: 100% !important;
}

/*Ajuste de los recuadritos :)*/

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.Rprimario {
    padding-right: 5px;
}

.Lsegundario {
    padding-left: 5px;
}

/*Nuevos estilos para el login*/

.cajon {
    background: #ffffff94;
    padding: 1.5rem;
    /*max-width: fit-content;*/
    width: 100%;
    padding-top: 0.75rem;
    border-radius: 0.5rem;
}

.input__wrapper {
    position: relative;
    padding: 1rem 0 0;
}

.input__wrapperC {
    position: relative;
    padding: 1rem 0 0;
}

.input__field {
    outline: 1.5px solid #192d5700;
    font-size: 1rem;
    border-radius: 0.25rem;
    color: black;
    padding: 0.5rem;
    border: none;
    width: 100%;
    background: #ffffff;
    transition: all 0.2s;
}

    .input__field::placeholder {
        color: transparent;
    }

    .input__field:placeholder-shown ~ .input__label {
        font-size: 1rem;
        cursor: text;
        color: black;
        top: 1.5rem;
        border-radius: 3px;
    }

    label,
    .input__field:focus ~ .input__label {
        position: absolute;
        top: 0.375rem;
        padding: 0 0.25rem;
        background-color: #ffffff;
        display: block;
        font-size: 0.875rem;
        left: 0.5rem;
        color: black;
        transition: 0.3s;
    }

    .input__field:focus ~ .input__label {
        color: black;
    }

    .input__field:focus {
        outline: 1.5px solid var(--primary);
    }

.input__icon {
    position: absolute;
    right: -0.4rem;
    bottom: -0.625rem;
    width: 1.75rem;
    height: 1.75rem;
    transform: translate(-50%, -50%);
    transform-origin: center;
    cursor: pointer;
}

.input__fieldC {
    outline: 1.5px solid #192d5700;
    font-size: 1rem;
    border-radius: 0.25rem;
    color: black;
    padding: 0.5rem;
    border: none;
    width: 100%;
    background: #ffffff;
    transition: all 0.2s;
}

    .input__fieldC::placeholder {
        color: transparent;
    }

    .input__fieldC:placeholder-shown ~ .input__label {
        font-size: 1rem;
        cursor: text;
        color: black;
        top: 1.5rem;
        border-radius: 3px;
    }

    label,
    .input__fieldC:focus ~ .input__label {
        position: absolute;
        top: 0.375rem;
        padding: 0 0.25rem;
        background-color: #ffffff;
        display: block;
        font-size: 0.875rem;
        left: 0.5rem;
        color: black;
        border-radius: 3px;
        transition: 0.3s;
    }

    .input__fieldC:focus ~ .input__label {
        color: black;
    }

    .input__fieldC:focus {
        outline: 1.5px solid var(--primary);
    }

/*-------------------*/

/*--------- Botones nuevos ----------*/

.botoncitos {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.botoncitos2 {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    justify-content: space-evenly;
    margin-top: 15px;
}

.btn {
    color: white;
    font-weight: 500;
    background-color: #fa9e0d;
    border-color: #fa9e0d;
    border-radius: 8px;
    padding: 5px 20px;
    transition: 0.3s;
}

    .btn:hover {
        background-color: #ffffff;
        color: #0032ab;
        box-shadow: 0 0px 5px 1px #ffffff;
        border-color: #ffffff;
        transition: 0.3s;
    }

.btn-primary:hover {
    color: #0032ab;
    background-color: #ffffff;
    box-shadow: 0 0px 5px 1px #ffffff;
    border-color: #ffffff;
    transition: 0.3s;
}

.btn2 {
    color: white;
    font-weight: 500;
    background-color: #0a54b9;
    border-color: #ffffff00;
    border-radius: 8px;
    padding: 5px 20px;
    transition: 0.3s;
    box-shadow: 0 0px 5px 1px #ffffff;
}

    .btn2:hover {
        color: white;
        background-color: #03306f;
        transition: 0.3s;
    }

/*-------------------*/

.BotonEmple {
    color: white;
    font-weight: 500;
    background-color: #003071;
    border-color: #ffffff00;
    border-radius: 8px;
    padding: 5px 20px;
    transition: 0.3s;
}

    .BotonEmple:hover {
        color: white;
        background-color: #03306f;
        transition: 0.3s;
    }

/*-------------------*/

/*Ajuste de las lineas del registro :)*/

.linearegistro {
    margin-bottom: 3px;
    border-bottom: solid 2px #ffffff;
    width: 235%;
}

@media (max-width: 576px) {
    .base {
        height: 75vh;
    }
}

/*Nuevo login*/

.bfc-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2.5rem 2rem 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    width: 100%;
    margin: 0 auto;
}

.bfc-subtitle {
    color: #888888;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

    .bfc-subtitle strong {
        color: #333333;
    }

/* Inputs limpios */
.bfc-input {
    border: 1px solid #d4d4d4 !important;
    border-radius: 4px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    color: #333333 !important;
    box-shadow: none !important;
    height: auto !important;
}

    .bfc-input::placeholder {
        color: #888888 !important;
    }

    .bfc-input:focus {
        border-color: #0a54b9 !important;
        outline: none !important;
    }

/* Reubicación del icono del ojito para el nuevo diseño */
.bfc-card .input__icon {
    position: absolute;
    right: 15px;
    top: 34%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.bfc-btn {
    background-color: #e0e0e0;
    color: #888888;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .bfc-btn:hover {
        background-color: #0a54b9;
        color: #ffffff;
        box-shadow: 0 4px 8px rgba(10, 84, 185, 0.3);
    }

/* Enlaces */
.bfc-links a {
    color: #0a54b9;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

    .bfc-links a:hover {
        color: #fa9e0d; /* Naranja en hover */
    }

/* Franjas inferiores */
.bfc-bottom-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.bfc-line-blue {
    height: 6px;
    background-color: #1f419b;
}

.bfc-line-orange {
    height: 6px;
    background-color: #f99e1c;
}