/* your styles go here */

.i-green {
    color: green;
}
.i-red {
    color: red;
}
.i-cornflowerblue {
    color: cornflowerblue;
}
.i-grey {
    color: grey;
}
.i-warning {
    color: rgb(189, 143, 58);
}
.i-white {
    color: white;
}

.bg-gray {
    background-color:gray;
    color: white;
}
.bg-grey {
    background-color:grey;
    color: white;
}
.bg-antique {
    background-color:antiquewhite;
}
.bg-cadetblue {
    background-color:cadetblue;
    color: white;
}
.bg-azure {
    background-color:azure;
}

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
    color: grey;
}
.text_rotate {
  writing-mode: vertical-lr;
  /* text-orientation: upright; */
  transform: rotate(190deg);
  text-align: left;
  max-height: 150px;
  font-size: small;
  font-weight: unset;
}

.bg-header {
    background-color: #17a2b8 ;
}

.card-header {
    text-transform: uppercase;
    font-weight: bold;
    font-size:small;
}

.btn-group.special {
    display: flex;
}
.special .btn {
    flex: 1
}

.img_pos {
    position: relative;
    width: 100px;
}

.hv_card_header{
    transition: all 0.3s ease;
    background-color: #435ebe;
}

.hv_card_header:hover{
    transform: scale(1.05);
    background-color: #65b1e8;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#navBar {
    background-color: #d2e4f6;
    color: white;
    border-bottom: 5px solid #8fcdd7;
}

/* PART LOGIN PAGE */
/* =========================================
   LOGIN PAGE
   ========================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
}


/* =========================================
   BACKGROUND
   ========================================= */

#auth {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("/static/images/untl_edificio2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Blue overlay */
.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 91, 181, 0.78);
    z-index: 1;
}


/* =========================================
   LOGIN CONTAINER
   ========================================= */

.auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    padding: 30px 20px;
}


/* =========================================
   LOGIN CARD
   ========================================= */

.auth-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 38px 42px 35px;
    box-shadow:0 20px 50px rgba(0, 0, 0, 0.20);
    text-align: center;
}

/* =========================================
   LOGO
   ========================================= */

.logo-container {
    margin-bottom: 18px;
}

.untl-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


/* =========================================
   UNIVERSITY NAME
   ========================================= */

.university-name {
    margin: 0;
    color: #064fa8;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}


/* =========================================
   SYSTEM NAME
   ========================================= */

.system-name {
    margin-top: 8px;
    margin-bottom: 18px;
    color: #7b8490;
    font-size: 15px;
    font-weight: 400;
}


/* Blue line */
.title-line {
    width: 80px;
    height: 4px;
    background: #1976d2;
    border-radius: 10px;
    margin: 0 auto 28px;
}


/* =========================================
   CRISPY FORM
   ========================================= */

/*
   Crispy generates something similar to:

   <div class="mb-3">
       <label ...>Username</label>
       <input ...>
   </div>

   Therefore we style the form elements directly.
*/

.auth-card form {
    text-align: left;
}


/* Crispy labels */

.auth-card form label {
    display: block;
    margin-bottom: 7px;
    color: #46515d;
    font-size: 14px;
    font-weight: 600;
}


/* Required asterisk */

.auth-card form label .asteriskField {
    color: #dc3545;
}


/* Crispy input fields */
.auth-card form input[type="text"],
.auth-card form input[type="password"],
.auth-card form input[type="email"] {
    width: 100%;
    height: 46px;
    padding: 10px 13px;
    box-sizing: border-box;
    border: 1px solid #d7dde4;
    border-radius: 9px;
    background: #ffffff;
    color: #333;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Input focus */

.auth-card form input[type="text"]:focus,
.auth-card form input[type="password"]:focus,
.auth-card form input[type="email"]:focus {
    border-color: #1976d2;

    box-shadow:
        0 0 0 3px rgba(25, 118, 210, 0.12);
}


/* Space between Crispy fields */

.auth-card form .mb-3 {
    margin-bottom: 17px !important;
}


/* =========================================
   LOGIN BUTTON
   ========================================= */

.login-button {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    background: #1976d2;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.login-button:hover {
    background: #15acc0;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.25);
}


.login-button i {
    margin-right: 5px;
}


/* =========================================
   FOOTER
   ========================================= */

.login-footer {
    margin-top: 25px;
    text-align: center;
    color: #7c8792;
    font-size: 12px;
}

.login-footer p {
    margin: 5px 0;
}

.login-footer i {
    margin-right: 3px;
}

.admin-text {
    color: #1267b1;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 576px) {

    #auth {
        padding: 20px 0;
    }

    .auth-container {
        padding: 20px 15px;
    }

    .auth-card {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .untl-logo {
        width: 90px;
        height: 90px;
    }

    .university-name {
        font-size: 20px;
    }
    .system-name {
        font-size: 14px;
    }
}
/* END OF LOGIN PAGE */

/* =========================================
   PASSWORD SHOW / HIDE
   ========================================= */

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    color: #7b8490;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
}
.password-toggle:hover {
    color: #1976d2;
}
.password-toggle:focus {
    outline: none;
}