
/* Inicio Pantalla Login */
.login__body {
    /* background-color: #328f8a;
    background-image: linear-gradient(45deg,#328f8a,#08ac4b); */
    background-image: url(../Images/bg__bluir.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    /* width: 100%;
    height: 100%; */
  }
  
  .login-page {
  width: 500px;
  padding: 8% 0 0;
  margin: auto;
  margin-top: -70px;
  }
  
  .login-page .form .login{
  margin-top:-31px;
  margin-bottom: 26px;
  }

  /* Títulos del login */
  .login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 15px 0 5px 0;
    letter-spacing: 0.5px;
  }

  .login-subtitle {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-weight: 400;
  }
  
  /* Diseño alternativo minimalista */
  .login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 20px;
  }

  .login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 100%;
    max-width: 420px;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 1px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out;
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .login-header-v2 {
    text-align: center;
    margin-bottom: 40px;
  }

  .logo-wrapper {
    margin-bottom: 20px;
  }

  .login-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
  }

  .login-logo:hover {
    transform: scale(1.05);
  }

  .login-title-v2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
  }

  .login-subtitle-v2 {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
  }

  .login-form-v2 {
    width: 100%;
  }

  .form-group-v2 {
    margin-bottom: 28px;
  }

  .form-label-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
  }

  .label-icon {
    color: #6b7280;
    font-size: 14px;
  }

  .input-wrapper-v2 {
    position: relative;
  }

  .form-input-v2 {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: #1a1a1a;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .form-input-v2:focus {
    background: #ffffff;
    border-color: #8B2C4F;
    box-shadow: 0 0 0 4px rgba(139, 44, 79, 0.1);
  }

  .form-input-v2::placeholder {
    color: #9ca3af;
  }

  .error-input {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
  }

  .error-input:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
  }

  .input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
        background: linear-gradient(90deg, #8B2C4F, #6B1F3A);
    transition: width 0.3s ease;
  }

  .form-input-v2:focus ~ .input-line {
    width: calc(100% - 32px);
  }

  .password-wrapper {
    position: relative;
  }

  .password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 2;
  }

  .password-toggle-btn:hover {
    color: #8B2C4F;
  }

  .toggle-icon {
    font-size: 18px;
  }

  .form-options {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
  }

  .checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
  }

  .checkbox-wrapper input[type="checkbox"] {
    display: none;
  }

  .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    background: #ffffff;
  }

  .checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #8B2C4F;
    border-color: #8B2C4F;
  }

  .checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .checkbox-label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
  }

  .submit-btn-v2 {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
        background: linear-gradient(135deg, #8B2C4F 0%, #6B1F3A 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(139, 44, 79, 0.4);
    position: relative;
    overflow: hidden;
  }

  .submit-btn-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }

  .submit-btn-v2:hover::before {
    left: 100%;
  }

  .submit-btn-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 44, 79, 0.5);
  }

  .submit-btn-v2:active {
    transform: translateY(0);
  }

  .btn-arrow {
    transition: transform 0.3s ease;
  }

  .submit-btn-v2:hover .btn-arrow {
    transform: translateX(4px);
  }

  .error-message-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fef2f2;
    border-radius: 8px;
    border-left: 3px solid #ef4444;
  }

  .error-message-v2 i {
    font-size: 14px;
  }

  /* Responsive para diseño alternativo */
  @media screen and (max-width: 600px) {
    .login-card {
      padding: 40px 30px;
      border-radius: 20px;
    }

    .login-title-v2 {
      font-size: 24px;
    }

    .login-subtitle-v2 {
      font-size: 14px;
    }

    .login-logo {
      width: 150px;
    }
  }

  .form {
  position: fixed;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  width:28%!important;
  padding: 50px 45px;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15), 
              0 0 0 1px rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  }

  @media screen and (max-width:1600px) { 
    .form {
      width:35%!important;
      padding: 45px 40px;
    }
  }

  @media screen and (max-width:1100px) { 
    .form {
      width:60%!important;
      padding: 45px 35px;
    }
  }

  @media screen and (max-width:600px) { 
    .form {
      width:95%!important;
      padding: 40px 25px;
      border-radius: 15px;
    }
    .login-title {
      font-size: 1.6rem;
    }
    .login-subtitle {
      font-size: 0.85rem;
    }
  }


  .f{
    background-color: #f6f6f6;
  }
  
  .push{
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
    
  .push:hover {
    -webkit-transform: scale(1.1) !important;
    transform: scale(1.04) !important;
  }
  
  /* Input groups mejorados */
  .input-group-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .input-icon-wrapper {
    position: absolute;
    left: 18px;
    z-index: 2;
    color: #7f8c8d;
    pointer-events: none;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .input-icon {
    font-size: 16px;
    transition: color 0.3s ease;
  }

  .form .bloque__1 input {
    outline: 0;
    background: #ffffff;
    width: 100%;
    border: 2px solid #e0e0e0;
    margin: 0;
    padding: 15px 15px 15px 50px;
    box-sizing: border-box;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .form .bloque__1 input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: #ffffff;
  }

  .form .bloque__1 input:focus ~ .input-icon-wrapper .input-icon {
    color: #3498db;
  }

  .form .bloque__1 input::placeholder {
    color: #95a5a6;
    font-weight: 400;
  }

  /* Input con icono de contraseña */
  .form-input.rounded__basic2 {
    padding-right: 60px;
  }
  
  
  
  
  /* Botón de login mejorado */
  .btn-login {
    font-family: "Roboto", sans-serif;
    text-transform: none;
    outline: 0;
    width: 100%;
    border: 0;
    padding: 16px 30px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }

  .btn-login:hover::before {
    left: 100%;
  }

  .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: #FFFFFF;
  }

  .btn-login:active {
    transform: translateY(0);
  }

  .btn-text {
    position: relative;
    z-index: 1;
  }

  .btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
  }

  .btn-login:hover .btn-icon {
    transform: translateX(5px);
  }

  .form button {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    outline: 0;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    transition: .4s;
    cursor: pointer;
  }
  
  .form button:hover {
    color: rgb(255, 255, 255);
  }
  
  .form .message {
  margin: 15px 0 0;
  color: #6e6d6d;
  font-size: 12px;
  }
  
  .form .min__text {
    margin: 15px 0 0;
    color: #434368;
    font-size: 13px;
    }

  /* Checkbox personalizado */
  .remember-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .form-check-custom {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .form-check-input-custom {
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #667eea;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .form-check-input-custom:hover {
    border-color: #667eea;
  }

  .form-check-input-custom:checked {
    background-color: #667eea;
    border-color: #667eea;
  }

  .form-check-label-custom {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    margin-left: 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
  }

  .form-check-label-custom:hover {
    color: #667eea;
  }

  /* Mensajes de error mejorados */
  .error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
  }

  .error-message i {
    font-size: 14px;
  }
  
  .form .message a {
  color: #0095D9;
  text-decoration: none;
  }
  
  .container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
  }
  

  
  .size__icon{
    width: 220px;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
  }

  .size__icon:hover {
    transform: scale(1.05);
  }

  .login-header {
    margin-bottom: 10px;
  }
  
  .bg__grey{
    background-color: #403d3d;
  }
  
  .nav__responsive{
    margin: 20px;
  }
  
  .nav__button{
    margin: 16px;
  }
  /* Fin Pantalla Login */
  
  /* Incio Pantalla welcome */
  .link__nav{
    margin-right: 10px;
    outline: none;
    text-decoration: none;
    padding: 2px 1px 0;
   color: #f8f8f8;
  }
  
  .link__nav:hover {
    outline: none;
    text-decoration: none;
    text-shadow: 5px 5px 2px rgba(237, 237, 237, 0.152);
    color: rgb(193, 193, 193);
    letter-spacing: 1px;
  }
  
  .welcome__body{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width:100%;
    height:100%;
    background-image: linear-gradient(239deg, #071564 0%, #5088c8 46%, #70fffe 100%);
    }
  
  .circle__push{
    width: 400px;
    height: 400px;
    background-color: #ffffff;
    border-radius: 1000px;
    margin: 0 auto;
  }

  .rounded__basic{
    border-radius: 30px;
  }

  .rounded__basic2{
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
  }
  
  .with_basic{
    width: 65%!important;
  }

  .with_basic2{
    width: 72%!important;
  }

  .height_basic{
    height: 50px!important;
  }

  .form .btn__password{
    outline: 0;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-left: 0;
    text-align: center!important;
    padding-top: 13px;
    box-sizing: border-box;
    font-size: 15px!important;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
  }

  .form .btn__password:hover {
    background: #f8f9fa;
    border-color: #3498db;
  }

  .password-toggle {
    color: #7f8c8d;
    transition: color 0.3s ease;
    text-decoration: none;
  }

  .password-toggle:hover {
    color: #3498db;
  }

  .form .btn__password:focus-within {
    border-color: #3498db;
  }
  /* Fin Pantalla welcome */
  
  
  /*Incio Responsive size changes */
  @media screen and (max-width:600px) {
    .nav__responsive{
      margin: 55px;
    }
  
    .login-page {
      width: 350px;
      padding: 9% 0 0;
      margin: auto;
      margin-top: 10px;
      }
      
      .login-page .form .login{
      margin-top: 41px;
      margin-bottom: 26px;
      
      }
  
      .with_basic{
        width: 210px!important;
      }

      .form {
        position: absolute;
        z-index: 1;
        background-color: hsla(0, 0%, 100%, 0.457) !important;
        backdrop-filter: saturate(200%) blur(105px);
        max-width: 500px;
        margin: 0 auto 100px;
        padding: 45px;
        text-align: center;
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
        }
  
  }
  
  /* @media screen and (max-width:950px) {
    .login__body {
      background-image: linear-gradient(0deg, #ffffff 71%, #64cdb9 88%, #3474ff 100%);
    }
  /* Fin Responsive size changes */
  
  /* } */