/* Conteúdo principal */
main {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 60px 20px 40px;
}

.page-title {
   font-size: 32px;
   font-weight: 700;
   color: #1e293b;
   margin-bottom: 12px;
   text-align: center;
}

.page-subtitle {
   font-size: 16px;
   color: #64748b;
   margin-bottom: 40px;
   text-align: center;
   max-width: 500px;
}

.auth-container {
   background-color: #ffffff;
   border-radius: 12px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
   width: 100%;
   max-width: 480px;
   overflow: hidden;
   margin-bottom: 60px;
   border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Abas de navegação */
.tabs {
   display: flex;
   background-color: #f8fafc;
   border-bottom: 1px solid #e2e8f0;
}

.tab {
   flex: 1;
   padding: 18px 20px;
   text-align: center;
   cursor: pointer;
   font-weight: 600;
   color: #64748b;
   transition: all 0.2s ease;
   position: relative;
   font-size: 15px;
}

.tab:hover {
   color: #475569;
   background-color: rgba(241, 245, 249, 0.5);
}

.tab.active {
   color: #4f46e5;
   background-color: #ffffff;
}

.tab.active::after {
   content: '';
   position: absolute;
   bottom: -1px;
   left: 0;
   width: 100%;
   height: 3px;
   background-color: #4f46e5;
}

/* Conteúdo das abas */
.tab-content {
   padding: 32px;
   display: none;
}

.tab-content.active {
   display: block;
   animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
   from {
      opacity: 0;
      transform: translateY(10px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.form-title {
   font-size: 24px;
   font-weight: 700;
   margin-bottom: 8px;
   color: #1e293b;
   text-align: center;
}

.form-subtitle {
   font-size: 15px;
   color: #64748b;
   margin-bottom: 24px;
   text-align: center;
}

.form-group {
   margin-bottom: 20px;
}

.form-group label {
   display: block;
   margin-bottom: 8px;
   font-weight: 500;
   color: #334155;
   font-size: 14px;
}

.input-wrapper {
   position: relative;
}

.form-group input {
   width: 100%;
   padding: 14px 16px;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   font-size: 15px;
   transition: all 0.2s ease;
   background-color: #ffffff;
}

.form-group input:focus {
   outline: none;
   border-color: #4f46e5;
   box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.form-footer {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 24px;
}

.remember-me {
   display: flex;
   align-items: center;
}

.remember-me input {
   margin-right: 8px;
   width: 16px;
   height: 16px;
   accent-color: #4f46e5;
}

.remember-me label {
   font-size: 14px;
   color: #64748b;
   font-weight: 500;
   margin-bottom: 0;
}

.forgot-password {
   color: #4f46e5;
   text-decoration: none;
   font-size: 14px;
   font-weight: 500;
   transition: color 0.2s ease;
}

.forgot-password:hover {
   color: #3a5bd9;
   text-decoration: underline;
}

.btn {
   display: block;
   width: 100%;
   padding: 14px 20px;
   background-color: #4f46e5;
   color: white;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.2s ease;
   box-shadow: 0 4px 6px rgba(74, 108, 247, 0.2);
}

.btn:hover {
   background-color: #3a5bd9;
   transform: translateY(-1px);
   box-shadow: 0 6px 8px rgba(74, 108, 247, 0.25);
}

.btn:active {
   transform: translateY(0);
   box-shadow: 0 2px 4px rgba(74, 108, 247, 0.2);
}

.divider {
   display: flex;
   align-items: center;
   margin: 24px 0;
   color: #94a3b8;
}

.divider::before,
.divider::after {
   content: '';
   flex: 1;
   height: 1px;
   background-color: #e2e8f0;
}

.divider span {
   padding: 0 12px;
   font-size: 14px;
   font-weight: 500;
}

.terms {
   font-size: 14px;
   color: #64748b;
   text-align: center;
   margin-top: 20px;
   line-height: 1.5;
}

.terms a {
   color: #4f46e5;
   text-decoration: none;
   font-weight: 500;
   transition: color 0.2s ease;
}

.terms a:hover {
   color: #3a5bd9;
   text-decoration: underline;
}

/* Indicador de força da senha */
.password-strength {
   margin-top: 10px;
   height: 6px;
   background-color: #f1f5f9;
   border-radius: 3px;
   overflow: hidden;
}

.password-strength-meter {
   height: 100%;
   width: 0;
   border-radius: 3px;
   transition: width 0.3s, background-color 0.3s;
}

.password-strength-text {
   font-size: 13px;
   margin-top: 8px;
   color: #64748b;
   display: flex;
   justify-content: space-between;
   font-weight: 500;
}

.password-strength-weak .password-strength-meter {
   width: 33.33%;
   background-color: #ef4444;
}

.password-strength-weak .password-strength-text .strength-label {
   color: #ef4444;
}

.password-strength-medium .password-strength-meter {
   width: 66.66%;
   background-color: #f59e0b;
}

.password-strength-medium .password-strength-text .strength-label {
   color: #f59e0b;
}

.password-strength-strong .password-strength-meter {
   width: 100%;
   background-color: #10b981;
}

.password-strength-strong .password-strength-text .strength-label {
   color: #10b981;
}

.password-requirements {
   margin-top: 12px;
   font-size: 13px;
   color: #64748b;
}

.password-requirements ul {
   padding-left: 20px;
   margin-top: 6px;
}

.password-requirements li {
   margin-bottom: 4px;
}

.requirement-met {
   color: #10b981;
}

.requirement-not-met {
   color: #ef4444;
}

/* Seção de Benefícios */
.auth-benefits {
   width: 100%;
   max-width: 1100px;
   margin: 0 auto 60px;
   padding: 0 20px;
}

.auth-benefits h3 {
   font-size: 28px;
   font-weight: 700;
   color: #1e293b;
   text-align: center;
   margin-bottom: 40px;
   position: relative;
   padding-bottom: 16px;
}

.auth-benefits h3::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 60px;
   height: 3px;
   background-color: #4f46e5;
   border-radius: 3px;
}

.benefits-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
}

.benefit-item {
   background-color: #ffffff;
   border-radius: 12px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
   padding: 30px;
   text-align: center;
   transition: all 0.3s ease;
   border: 1px solid rgba(226, 232, 240, 0.8);
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.benefit-item:hover {
   transform: translateY(-8px);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
   border-color: rgba(74, 108, 247, 0.2);
}

.benefit-icon {
   width: 70px;
   height: 70px;
   background: linear-gradient(135deg, #4f46e5 0%, #3e37cc 100%);
   border-radius: 16px;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto 20px;
   box-shadow: 0 8px 16px rgba(74, 108, 247, 0.2);
}

.benefit-icon i {
   font-size: 28px;
   color: #ffffff;
}

.benefit-text h4 {
   font-size: 20px;
   font-weight: 600;
   color: #1e293b;
   margin-bottom: 10px;
}

.benefit-text p {
   font-size: 15px;
   color: #64748b;
   line-height: 1.6;
}

/* Mensagens de erro e sucesso */
.message {
   width: 100%;
   padding: 14px 16px;
   border-radius: 8px;
   margin-bottom: 20px;
   font-size: 14px;
   display: flex;
   font-weight: 500;
   align-items: center;
}

.message.error {
   background-color: #fef2f2;
   color: #b91c1c;
   border-left: 4px solid #ef4444;
}

.message.success {
   background-color: #f0fdf4;
   color: #166534;
   border-left: 4px solid #10b981;
}

.message i {
   margin-right: 10px;
   font-size: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
   .header-container {
      padding: 0 16px;
   }

   .logo {
      font-size: 20px;
   }

   .page-title {
      font-size: 28px;
   }

   .auth-container {
      max-width: 100%;
      margin-bottom: 40px;
   }

   .tab-content {
      padding: 24px;
   }

   .form-title {
      font-size: 22px;
   }

   .auth-benefits h3 {
      font-size: 24px;
      margin-bottom: 30px;
   }

   .benefits-container {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
   }

   .benefit-item {
      padding: 24px 20px;
   }

   .benefit-icon {
      width: 60px;
      height: 60px;
   }

   .benefit-icon i {
      font-size: 24px;
   }
}

@media (max-width: 480px) {
   .tab {
      padding: 14px;
      font-size: 14px;
   }

   .form-group input {
      padding: 12px 14px;
   }

   .btn {
      padding: 12px 16px;
   }

   .benefits-container {
      grid-template-columns: 1fr;
   }
}