﻿:root {
    --utpl-blue: #004270;
    --utpl-blue-dark: #00335a;
    --utpl-gold: #febe10;
    --utpl-bg-soft: #f9fafb;
    --utpl-bg-muted: #f1f5f9;
    --utpl-gray-900: #4b5563;
    --utpl-gray-700: #6b7280;
    --utpl-gray-500: #9ca3af;
    --utpl-gray-200: #e5e7eb;
    --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --font-sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

html, body {
    height: 100%;
}

html {
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--utpl-bg-soft);
    font-family: var(--font-sans);
    color: var(--utpl-gray-900);
}

#mainContainer {
    flex: 1 0 auto;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}

.famfamfam-flags {
    display: inline-block;
}

.swal-footer {
    text-align: center;
}

a.navbar-brand {
    padding: unset;
}

.informative_text {
    text-align: justify;
}

/* =========================================================
   Result / notification alerts (success, error, info, warning)
   Keep existing Bootstrap class names (alert-success, alert-danger...)
   untouched: some JS reads them via response.indexOf("alert-success")
   to decide success/failure, so this is a pure CSS restyle.
   ========================================================= */

.alert {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 16px 20px 16px 56px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

    .alert::before {
        position: absolute;
        left: 18px;
        top: 16px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
        line-height: 24px;
        text-align: center;
        color: #ffffff;
    }

    .alert .close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        opacity: 0.6;
        font-size: 18px;
        line-height: 1;
        text-decoration: none;
        transition: opacity 0.15s ease, background-color 0.15s ease;
    }

        .alert .close:hover {
            opacity: 1;
            background-color: rgba(0, 0, 0, 0.06);
            text-decoration: none;
        }

.alert-danger {
    color: #9f1239 !important;
    background-color: #fdecee !important;
    border-color: rgba(159, 18, 57, 0.18);
}

    .alert-danger::before {
        content: "\2715";
        background-color: #e11d48;
    }

.alert-info {
    color: var(--utpl-blue) !important;
    background-color: #eaf2f8 !important;
    border-color: rgba(0, 66, 112, 0.18);
}

    .alert-info::before {
        content: "\2139";
        background-color: var(--utpl-blue);
    }

.alert-warning {
    color: #7a5200 !important;
    background-color: #fff7e0 !important;
    border-color: rgba(254, 190, 16, 0.4);
}

    .alert-warning::before {
        content: "!";
        background-color: var(--utpl-gold);
        color: #1f2937;
    }

.alert-success {
    color: #166534 !important;
    background-color: #e9f9ef !important;
    border-color: rgba(22, 101, 52, 0.18);
}

    .alert-success::before {
        content: "\2713";
        background-color: #16a34a;
    }

.alert-heading {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-weight: 700;
}

.step-pad hr,
.row.main-form hr {
    border: none;
    border-top: 1px solid var(--utpl-gray-200);
    margin: 20px 0;
}

.step-pad ul,
.row.main-form ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

    .step-pad ul li,
    .row.main-form ul li {
        position: relative;
        padding-left: 22px;
        margin-bottom: 8px;
        font-size: 14px;
        color: var(--utpl-gray-700);
        line-height: 1.5;
    }

        .step-pad ul li::before,
        .row.main-form ul li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 8px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: var(--utpl-gold);
        }

.alert-link {
    color: var(--utpl-blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(0, 66, 112, 0.3);
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

    .alert-link:hover {
        color: var(--utpl-gold);
    }

img.center-block {
    padding: 15px 10px
}

.thumbnail {
    background-color: transparent;
}

.img_titulo {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.field-icon {
    float: right;
    margin-left: -30px;
    margin-top: -34px;
    position: relative;
    z-index: 2;
    color: var(--utpl-gray-500);
}

.field-with-icon .field-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    margin: 0;
    float: none;
    cursor: pointer;
}

.navbar-header img {
    width: 150px;
}

.container {
    max-width: 1100px;
}

.img-fluid {
    padding-top: 10px;
    padding-right: 16px;
    padding-left: 10px;
}

.toast-top-left {
    top: 74px;
}

.is-required:after {
    content: " *";
    color: #e11d48;
}

.error {
    color: #fd397a;
}

/* jQuery Validate: invalid field + inline error message */

.form-control.error {
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.form-group label.error,
label.error {
    display: block;
    width: 100%;
    margin-top: 6px;
    color: #e11d48;
    font-size: 12px;
    font-weight: 500;
}

    label.error::before {
        content: "!";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        margin-right: 6px;
        border: 1.5px solid #e11d48;
        border-radius: 50%;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        vertical-align: -2px;
    }

.errorCaptcha {
    color: #fd397a;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--utpl-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    animation: gidFadeInDown 0.4s ease both;
}

.site-header__bar {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 66px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .site-header__brand img {
        height: 36px;
        width: auto;
    }

.site-nav {
    display: none;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .site-nav__list > li {
        float: none;
    }

        .site-nav__list > li > a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 12px;
            font-size: 14px;
            font-weight: 500;
            font-family: var(--font-sans);
            color: #ffffff;
            text-decoration: none;
            border-bottom: 2px solid transparent;
            white-space: nowrap;
            transition: color 0.15s ease, border-color 0.15s ease;
        }

.site-nav__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

            .site-nav__list > li > a:hover,
            .site-nav__list > li > a:focus {
                color: var(--utpl-gold);
                background-color: transparent;
                text-decoration: none;
            }

    .site-nav__list > li.active > a {
        color: var(--utpl-gold);
        border-color: var(--utpl-gold);
        background-color: transparent;
    }

.site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
}

    .site-header__toggle .icon-close {
        display: none;
    }

    .site-header__toggle.is-open .icon-menu {
        display: none;
    }

    .site-header__toggle.is-open .icon-close {
        display: block;
    }

.site-nav-mobile {
    max-height: 0;
    overflow: hidden;
    background-color: var(--utpl-blue);
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: max-height 0.25s ease;
}

    .site-nav-mobile.is-open {
        max-height: 600px;
    }

.site-nav-mobile__list {
    margin: 0;
    padding: 12px 16px;
    list-style: none;
}

    .site-nav-mobile__list > li {
        float: none;
    }

        .site-nav-mobile__list > li > a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            margin-bottom: 4px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 500;
            color: #ffffff;
            text-decoration: none;
        }

        .site-nav-mobile__list .site-nav__icon {
            width: 18px;
            height: 18px;
        }

            .site-nav-mobile__list > li > a:hover,
            .site-nav-mobile__list > li > a:focus {
                background-color: rgba(255,255,255,0.1);
                text-decoration: none;
            }

    .site-nav-mobile__list > li.active > a {
        background-color: rgba(255,255,255,0.1);
        color: var(--utpl-gold);
    }

@media (min-width: 1200px) {
    .site-nav {
        display: flex;
    }

    .site-header__toggle,
    .site-nav-mobile {
        display: none;
    }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    flex-shrink: 0;
    background-color: var(--utpl-blue);
    margin-top: 40px;
}

.site-footer__top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer__brand img {
    height: 32px;
    width: auto;
}

.site-footer__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    color: #ffffff;
    font-size: 13px;
    margin: 0;
    text-align: center;
}

.site-footer__contact-label {
    font-weight: 600;
}

.site-footer__contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .site-footer__contact a:hover {
        color: var(--utpl-gold);
    }

.site-footer__sep {
    color: rgba(255,255,255,0.4);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    overflow: hidden;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .social-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .social-icon:hover {
        background-color: var(--utpl-gold);
        border-color: var(--utpl-gold);
        color: var(--utpl-blue);
    }

.site-footer__bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

    .site-footer__bottom p {
        margin: 0;
        color: rgba(255,255,255,0.7);
        font-size: 12px;
    }

    .site-footer__bottom .site-footer__copyright {
        color: rgba(255,255,255,0.5);
        font-size: 11px;
    }

        .site-footer__bottom .site-footer__copyright strong {
            color: rgba(255,255,255,0.75);
            font-weight: 700;
        }

.site-footer__legal {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

@media (min-width: 860px) {
    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
    }

        .site-footer__bottom .site-footer__copyright {
            flex: 1;
            text-align: left;
        }

        .site-footer__bottom .site-footer__address {
            flex: 1;
            text-align: center;
        }

    .site-footer__legal {
        flex: 1;
        justify-content: flex-end;
    }
}

    .site-footer__legal a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
    }

        .site-footer__legal a:hover {
            color: #ffffff;
        }

/* =========================================================
   Hero (Home)
   ========================================================= */

.hero {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.hero__media {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.hero__media-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

    .hero__media-clip img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero__media-fade {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 25%;
    background: linear-gradient(to bottom, transparent, var(--utpl-bg-soft));
}

.hero__shape {
    display: none;
    position: absolute;
    border-radius: 999px;
    transform: rotate(-24deg);
}

.hero__shape--gold {
    left: 4%;
    top: 10%;
    width: 40px;
    height: 128px;
    background-color: var(--utpl-gold);
}

.hero__shape--blue {
    left: 10%;
    top: 20%;
    width: 32px;
    height: 96px;
    background-color: rgba(0, 66, 112, 0.2);
}

.hero__content {
    padding: 40px 16px;
}

.chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--utpl-gold);
    color: var(--utpl-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--utpl-blue);
    letter-spacing: -0.02em;
    font-size: 36px;
    line-height: 1.15;
    margin: 16px 0 0;
}

    .hero__title .text-gold {
        color: var(--utpl-gold);
    }

.hero__subtitle {
    margin-top: 16px;
    font-size: 17px;
    color: var(--utpl-gray-700);
    max-width: 560px;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 180px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-circle--feature {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 66, 112, 0.1);
    color: var(--utpl-blue);
}

.hero__feature-label {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .hero__grid {
        grid-template-columns: 1fr 1.05fr;
    }

    .hero__media {
        height: auto;
        order: 2;
    }

    .hero__content {
        order: 1;
    }

        .hero__media-clip {
            clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
        }

    .hero__shape {
        display: block;
    }

    .hero__content {
        padding: 56px 40px;
    }

    .hero__title {
        font-size: 52px;
    }
}

/* =========================================================
   Service cards (Home)
   ========================================================= */

.service-grid {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
    padding: 40px max(16px, calc((100vw - 1920px) / 2));
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.service-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: rgba(255,255,255,0.9);
    border: 1px solid var(--utpl-gray-200);
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    animation: gidFadeInUp 0.5s ease both;
}

    .service-card:hover,
    .service-card:focus {
        border-color: var(--utpl-gold);
        box-shadow: 0 16px 30px rgba(0, 66, 112, 0.08);
        text-decoration: none;
        transform: translateY(-4px);
    }

    .service-card::before {
        content: "";
        position: absolute;
        bottom: -32px;
        right: -32px;
        width: 96px;
        height: 96px;
        border-radius: 50%;
        background-color: rgba(0, 66, 112, 0.05);
        pointer-events: none;
    }

    .service-card:nth-child(even)::before {
        background-color: rgba(254, 190, 16, 0.1);
    }

.service-card__icon {
    position: relative;
    width: 52px;
    height: 52px;
    background-color: var(--utpl-blue);
    color: #ffffff;
}

    .service-card:nth-child(even) .service-card__icon {
        background-color: rgba(254, 190, 16, 0.15);
        color: var(--utpl-blue);
    }

    .service-card__icon svg {
        width: 24px;
        height: 24px;
    }

.service-card__body {
    position: relative;
    flex: 1;
    min-width: 0;
}

.service-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--utpl-blue);
    font-size: 16px;
    margin: 0 0 4px;
}

.service-card__text {
    color: var(--utpl-gray-700);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.service-card__arrow {
    position: relative;
    flex-shrink: 0;
    color: var(--utpl-blue);
}

    .service-card__arrow svg {
        width: 20px;
        height: 20px;
    }

@media (min-width: 640px) {
    .service-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .service-card__icon {
        margin-bottom: 16px;
    }

    .service-card__arrow {
        margin-top: 16px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background-color: var(--utpl-blue);
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 999px;
    }

        .service-card__arrow svg {
            width: 14px;
            height: 14px;
        }
}

/* =========================================================
   Form card (RecoverUser, ResetPassword, ChangePassword,
   RegisterAlternateMail, GenerateCodeTemporal + steps)
   ========================================================= */

.container-form {
    max-width: 720px;
    margin: 40px auto 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--utpl-gray-200);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 45px rgba(0, 66, 112, 0.08);
    animation: gidFadeInUp 0.4s ease both;
}

.row.main-form {
    padding: 0 0 36px;
    margin: 0;
}

div.title-portal {
    position: relative;
    background-color: var(--utpl-blue);
    padding: 32px 32px 28px;
    text-align: left !important;
    overflow: hidden;
}

    div.title-portal::after {
        content: "";
        position: absolute;
        top: -40px;
        right: -40px;
        width: 140px;
        height: 140px;
        background-color: var(--utpl-gold);
        border-radius: 50%;
        opacity: 0.9;
    }

    div.title-portal h5 {
        position: relative;
        z-index: 1;
        color: #ffffff !important;
        font-family: var(--font-display);
        font-weight: 700;
        margin: 0;
        padding: 0 !important;
    }

.title-portal__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: calc(100% - 130px);
}

.title-portal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
}

    .title-portal__icon svg {
        width: 22px;
        height: 22px;
    }

div.horizontal-line,
div.horizontal-line-up {
    display: none;
}

#headingTitle1Span {
    display: block;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    font-size: 14px;
    margin-top: 6px;
    padding-left: 0 !important;
}

.back-home {
    clear: both;
    padding: 24px 32px 28px;
}

.back-home__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--utpl-blue);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
}

    .back-home__link svg {
        width: 16px;
        height: 16px;
    }

    .back-home__link:hover {
        color: var(--utpl-gold);
        text-decoration: none;
    }

.support-note {
    max-width: 720px;
    margin: 16px auto 40px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: rgba(0, 66, 112, 0.05);
    border: 1px solid rgba(0, 66, 112, 0.1);
    border-radius: 12px;
    color: rgba(0, 66, 112, 0.9);
    font-size: 13px;
    line-height: 1.5;
}

    .support-note svg {
        flex-shrink: 0;
        margin-top: 2px;
        width: 18px;
        height: 18px;
        color: var(--utpl-blue);
    }

.additional-text {
    padding: 20px 32px 0 !important;
    margin-top: 0 !important;
}

.step-pad,
#step4,
#divOne,
#divTwo {
    padding: 20px 32px 0;
    clear: both;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 6px;
    }

.field-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

    .field-label-row label {
        margin-bottom: 0;
    }

    .field-label-row .popup {
        line-height: 1;
    }

.field-with-icon {
    position: relative;
}

    .field-with-icon .field-icon-left {
        position: absolute;
        left: 10px;
        top: 9px;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background-color: rgba(0, 66, 112, 0.1);
        color: var(--utpl-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

        .field-with-icon .field-icon-left svg {
            width: 15px;
            height: 15px;
        }

    .field-with-icon .form-control {
        padding-left: 52px !important;
        padding-right: 44px !important;
    }

.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="number"].form-control {
    width: 100%;
    height: auto;
    padding: 12px 16px;
    border: 1px solid var(--utpl-gray-200);
    border-radius: 12px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .form-control:focus {
        border-color: var(--utpl-blue);
        box-shadow: 0 0 0 3px rgba(0, 66, 112, 0.15);
        outline: none;
    }

div#step1 div.informative_text,
div#step2 div.informative_text,
.informative_text {
    color: var(--utpl-gray-700);
    background-color: var(--utpl-bg-muted);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.alert.informative_text {
    padding: 16px 20px 16px 56px;
    margin-top: 20px;
}

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: var(--utpl-blue);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .popup .popuptext {
        visibility: hidden;
        width: max-content;
        max-width: min(480px, calc(100vw - 64px));
        background-color: #1f2937;
        color: #fff;
        text-align: left;
        border-radius: 8px;
        padding: 10px 14px;
        position: absolute;
        z-index: 20;
        top: -34px;
        left: calc(100% + 14px);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }

        .popup .popuptext::after {
            content: "";
            position: absolute;
            top: 38px;
            right: 100%;
            border-width: 5px;
            border-style: solid;
            border-color: transparent #1f2937 transparent transparent;
        }

    @media (max-width: 480px) {
        .popup .popuptext {
            left: 0;
            top: 130%;
            transform: none;
        }

            .popup .popuptext::after {
                top: auto;
                bottom: 100%;
                left: 10px;
                right: auto;
                transform: none;
                border-color: transparent transparent #1f2937 transparent;
            }
    }

    .popup .show {
        visibility: visible;
        -webkit-animation: gidFadeIn 0.3s;
        animation: gidFadeIn 0.3s;
    }

/* Buttons */

.btn-primary,
.btn-primaryr {
    background-color: var(--utpl-blue) !important;
    border: 0 !important;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

    .btn-primary:hover, .btn-primary:active:hover,
    .btn-primary:focus {
        background-color: var(--utpl-blue-dark) !important;
        border: 0 !important;
    }

    .btn-primary:active {
        transform: scale(0.98);
    }

.btn-outline {
    background-color: #ffffff !important;
    color: var(--utpl-blue) !important;
    border: 2px solid var(--utpl-gold) !important;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
}

    .btn-outline:hover, .btn-outline:focus {
        background-color: rgba(254, 190, 16, 0.1) !important;
        color: var(--utpl-blue) !important;
    }

#btnGetStudent,
#btnSiguiente,
#btnUpdate,
#btnValidatePIN,
#btnResetear,
#btnNextStep2,
#btnUpdateMail,
#btnGenerateCode {
    margin-top: 10px;
    margin-right: 8px;
}

#btnCancelarRegistro,
#btnCancelReg,
#btnCancelando,
#btnCancel {
    margin-top: 10px;
}

/* =========================================================
   Footer-nav info panel reused from old manual link
   ========================================================= */

.pie {
    display: none;
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes gidFadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gidFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes gidFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes gidFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }

/* =========================================================
   Animate.css powered touches
   ========================================================= */

.hero__content > * {
    animation: fadeInUp 0.6s ease both;
}

.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.25s; }
.hero__content > *:nth-child(4) { animation-delay: 0.35s; }

.hero__media {
    animation: fadeInRight 0.7s ease both;
}

.hero__shape {
    animation: pulse 3s ease-in-out infinite;
}

.hero__shape--blue {
    animation-delay: 0.6s;
}

.service-card:hover .service-card__icon {
    animation: tada 0.7s ease;
}

.site-nav__list > li > a:hover .site-nav__icon,
.site-nav-mobile__list > li > a:hover .site-nav__icon {
    animation: swing 0.6s ease;
}

.social-icon:hover {
    animation: pulse 0.5s ease;
}

.title-portal__icon {
    animation: zoomIn 0.5s ease both;
}

/*
  ##Responsive title sizing (kept from previous design)
*/

@media (min-width: 1281px) {
    div.title-portal h5 {
        font-size: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    div.title-portal h5 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    div.title-portal {
        padding: 26px 22px 22px;
    }

    .additional-text,
    .step-pad,
    #step4,
    #divOne,
    #divTwo {
        padding-left: 22px;
        padding-right: 22px;
    }

    div.title-portal h5 {
        font-size: 22px;
    }

    .toast-top-left {
        top: 64px;
    }
}
