html {
    width: 100vw;
    height: 100vh;
}

body {
    width: 100%;
    height: 100%;

    display: flex;
    align-content: center;
    justify-content: center;

    background-size: cover;
}

.login-container {
    width: 100vw;
    margin: auto;
    animation: fadeIn 1s ease-in-out both;
}

.hpanel .panel-body {
    padding: 20px;
}

.login-container div.tab-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 50px;
    /*margin-bottom: auto !important;*/
}

.login-container div.tab-pane.active {
    width: 30%;
}

.login-container div.tab-pane.active .panel-body {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
}

.login-container div.tab-pane.active .panel-body .btn-autenticacao {
    margin-top: auto !important;
}

.logo-login {
    margin-top: 50px;
}

h2.animate-fade-in-down {
    font-size: 4rem;
    font-weight: 800;
    color: #dbeafe; /* Azul Muito Suave (Tailwind Blue 100) */
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

h3.animate-fade-in-up {
    font-size: 3rem;
    font-weight: 700;
    color: #bfdbfe; /* Azul Suave (Tailwind Blue 200) */
    letter-spacing: 0.05em;
    margin-top: 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
}

h3.animate-fade-in-up cite {
    font-style: normal;
    opacity: 1;
}

/* Estilização somente para o tab-1 (Autenticação por Usuário/Senha) */
#tab-1 {
    background: #eff6ff; /* Azul muito suave (Tailwind Blue 50) */
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border: 1px solid #dbeafe; /* Azul claro (Tailwind Blue 100) */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#tab-1:hover {
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

#tab-1 .panel-heading {
    background-color: #dbeafe !important; /* Azul claro (Tailwind Blue 100) */
    border-bottom: 1px solid #bfdbfe !important; /* Azul um pouco mais forte (Tailwind Blue 200) */
    color: #1e40af !important; /* Azul escuro (Tailwind Blue 800) */
}

#tab-1 .panel-body {
    padding: 32px !important;
    background-color: #eff6ff !important;
}

#tab-1 .form-group label {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9em;
}

#tab-1 .form-control {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 15px !important;
    height: auto !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

#tab-1 .form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

#tab-1 .btn-info {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease !important;
}

#tab-1 .btn-info:hover {
    background-color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

#tab-1 .btn-default {
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 0.85em;
    padding: 0 !important;
    margin-bottom: 15px;
    text-align: right;
    width: auto;
    float: right;
    transition: color 0.2s;
}

#tab-1 .btn-default:hover {
    color: #3b82f6 !important;
    text-decoration: underline !important;
}

#tab-1 .text-info.font-bold {
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
    color: #3b82f6 !important;
}

/* Estilização somente para o tab-2 (Certificado Digital) */
#tab-2 {
    background: #f0fdf4; /* Verde água muito suave */
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border: 1px solid #dcfce7;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#tab-2:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

#tab-2 .panel-heading {
    background-color: #dcfce7 !important;
    border-bottom: 1px solid #bbf7d0 !important;
    color: #166534 !important;
}

#tab-2 .panel-body {
    padding: 32px !important;
    background-color: #f0fdf4 !important;
}

#tab-2 p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
}

#tab-2 strong {
    display: block;
    margin-bottom: 8px;
}

#tab-2 .btn-info {
    background-color: #10b981 !important; /* Esmeralda/Verde moderno */
    border-color: #10b981 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease !important;
}

#tab-2 .btn-info:hover {
    background-color: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

#tab-2 .text-info.font-bold {
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
    color: #059669 !important;
}

/* Estilização somente para o tab-3 (Autenticação Externa) */
#tab-3 {
    background: #fffbeb; /* Ambar muito suave */
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border: 1px solid #fef3c7;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#tab-3:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

#tab-3 .panel-heading {
    background-color: #fef3c7 !important;
    border-bottom: 1px solid #fde68a !important;
    color: #92400e !important;
}

#tab-3 .panel-body {
    padding: 32px !important;
    background-color: #fffbeb !important;
    text-align: center;
}

#tab-3 .img-externo {
    margin: 0 auto 15px auto;
    max-width: 100%;
    display: block;
}

#tab-3 p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

#tab-3 .btn-info {
    background-color: #f59e0b !important; /* Ambar/Laranja moderno */
    border-color: #f59e0b !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease !important;
}

#tab-3 .btn-info:hover {
    background-color: #d97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
}

#tab-3 .text-info.font-bold {
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
    color: #d97706 !important;
    text-align: left;
}

.panel-heading {
    font-weight: 600 !important;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 15px !important;
    text-align: center;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animações para h2 e h3 */
.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.2s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
