/* Login Screen */
.login-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
}

.login-aside {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-aside img {
    max-width: 200px;
    height: auto;
}

.login-main {
    flex: 2;
    max-width: 500px;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.login-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgb(51, 51, 51);
}

.login-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.login-option:hover {
    background-color: rgb(245, 245, 245);
    border-color: rgb(19, 81, 180);
}

.login-option img {
    width: 24px;
    height: 24px;
}

.login-option span {
    font-size: 1rem;
    color: rgb(51, 51, 51);
}

.login-accordion {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: rgb(245, 245, 245);
    border-radius: 6px;
}

.login-accordion p {
    font-size: 0.875rem;
    color: rgb(85, 85, 85);
    margin-bottom: 1rem;
}

.login-accordion label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgb(51, 51, 51);
}

.login-accordion input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.login-accordion input:focus {
    outline: none;
    border-color: rgb(19, 81, 180);
    box-shadow: 0 0 0 2px rgba(19, 81, 180, 0.1);
}

.login-button-panel {
    margin-top: 1rem;
}

.login-button {
    width: 100%;
    background-color: rgb(19, 81, 180);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: rgb(13, 60, 140);
}

#title-outras-op {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: rgb(51, 51, 51);
}

/* Verification Screen */
#main-signin {
    width: 100%;
    max-width: 800px;
    margin: 0px auto;
}

.card {
    width: 100%;
    align-items: flex-start;
    padding: 2rem;
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-3 {
    gap: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.bg-\[\#1351B4\] {
    background-color: rgb(19, 81, 180);
}

.text-white {
    color: white;
}

.text-sm {
    font-size: 0.875rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.text-base {
    font-size: 1rem;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem;
}

.pl-4 {
    padding-left: 1rem;
}

.p-3 {
    padding: 0.75rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-gray-50 {
    background-color: rgb(249, 250, 251);
}

.hover\:bg-gray-100:hover {
    background-color: rgb(243, 244, 246);
}

.flex-1 {
    flex: 1 1 0%;
}

.justify-center {
    justify-content: center;
}

.mt-6 {
    margin-top: 1.5rem;
}

.min-w-\[160px\] {
    min-width: 160px;
}

.button-continuar {
    width: 100%;
    background-color: rgb(19, 81, 180);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-continuar:hover {
    background-color: rgb(13, 60, 140);
}

/* Novas classes para estrutura gov.br */
#login-cpf {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

#login-cpf h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgb(51, 51, 51);
}

.item-login-signup-ways {
    margin-bottom: 1rem;
}

.item-login-signup-ways a,
.item-login-signup-ways button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border: none;
    border-radius: 0;
    width: 100%;
    text-decoration: none;
    color: rgb(51, 51, 51);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.item-login-signup-ways a:hover,
.item-login-signup-ways button:hover {
    background-color: transparent;
}

.item-login-signup-ways button {
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    background: white;
}

.item-login-signup-ways button:hover {
    background-color: rgb(245, 245, 245);
    border-color: rgb(19, 81, 180);
}

.item-login-signup-ways img {
    width: 24px;
    height: 24px;
}

.accordion-panel {
    margin-top: 0;
    padding: 0;
    background-color: transparent;
}

.accordion-panel p {
    font-size: 0.875rem;
    color: rgb(85, 85, 85);
    margin-bottom: 1rem;
}

.accordion-panel label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgb(51, 51, 51);
}

.accordion-panel input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#hr-outras-op {
    border: none;
    border-top: 1px solid rgb(51, 51, 51);
    margin: 0.5rem 0 1rem 0;
}

.accordion-panel input:focus {
    outline: none;
    border-color: rgb(19, 81, 180);
    box-shadow: 0 0 0 2px rgba(19, 81, 180, 0.1);
}

.button-panel {
    margin-top: 1rem;
}

.bank-login-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem !important;
}

.silver-account-badge {
    background-color: rgb(22, 163, 74);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.button-href-mimic2 {
    width: 100%;
}

/* Spinner de carregamento */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos de erro */
.error-message {
    display: none;
}

.error-message.mb-4 {
    margin-bottom: 1rem;
}

.error-message.p-3 {
    padding: 0.75rem;
}

.error-message.bg-red-50 {
    background-color: rgb(254, 242, 242);
}

.error-message.border {
    border-width: 1px;
}

.error-message.border-red-200 {
    border-color: rgb(254, 202, 202);
}

.error-message.rounded-md {
    border-radius: 0.375rem;
}

.error-message.text-red-700 {
    color: rgb(185, 28, 28);
}

.error-message.text-sm {
    font-size: 0.875rem;
}

/* Botões Fixos */
.vlibras-button {
    position: fixed;
    right: 1rem;
    top: 50%;
    z-index: 50;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-50%);
}

.vlibras-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.vlibras-button img {
    width: 2.5rem;
    height: 2.5rem;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    background-color: rgb(19, 81, 180);
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
}

.back-to-top:hover {
    background-color: rgb(13, 60, 140);
}

.back-to-top svg {
    transform: rotate(-90deg);
    width: 1rem;
    height: 1rem;
}
