﻿.otp-container {
    display: none;
    gap: 10px;
    margin: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.otp-container.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.resend-otp.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

form#loginForm {
    margin: 20px 0px;
}

.otp-input:focus {
    border-color: #667eea;
    transform: scale(1.05);
    outline: none;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.otp-wrapper {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.otp-wrapper.show {
    max-height: 200px;
    opacity: 1;
}

.resend-otp {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resend-otp.show {
    opacity: 1;
}

.resend-otp {
    display: none;
    text-align: center;
    margin: 15px 0px;
    color: #667eea;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.resend-otp:hover {
    opacity: 1;
    text-decoration: underline;
}

.shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.mobile-input {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
}

.country-code {
  position: absolute;
  left: 43px;
  top: 68%;
  transform: translateY(-50%);
  color: #4a5568;
  pointer-events: none;
  font-size: 29px;
}

.mobile-field {
    /*padding-left: 55px !important;*/
}

/* Modified divider style */
.divider {
    margin: 25px 0;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.divider hr {
    flex: 1;
    border: none;
    border-top: 1px solid #e2e8f0;
}

img.img-dabs {
    width: 180px;
}

.img-logo {
    text-align: center;
    margin-bottom: 20px;
}

.lmg-login-msg-title {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #919193;
    text-transform: uppercase;
}

.lmg-login-msg-title-left-hr {
    flex: 1;
    margin-right: 24px;
}

.lmg-login-msg-title-right-hr {
    flex: 1;
    margin-left: 24px;
}

.register-signin-button {
    display: block;
    border: 1px solid #be371d;
    padding: 14px;
    text-align: center;
    border-radius: 2px;
    color: #be371d;
    font-weight: bold;
    height: 48px;
}

.tw-align-middle {
    vertical-align: middle;
}

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}*/

login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 100%);
    position: relative;
}

form#external-account {
    width: 100%;
    display: flex;
    gap: 10px;
}

.pattern {
    position: fixed;
    opacity: 0.1;
}

.pattern-circle {
    width: 300px;
    height: 300px;
    background: #4a5568;
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.pattern-square {
    width: 200px;
    height: 200px;
    background: #48bb78;
    bottom: -100px;
    right: -100px;
    transform: rotate(45deg);
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    z-index: 1;
    position: relative;
}

login-p {
    margin-top: 5px;
    margin-bottom: 5px;
}

login-a {
    color: #767676;
    text-decoration: none;
    font-size: 14px;
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 2em;
}

.login-social-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.login-btn-social {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease;
    width: 100%;
}

    .login-btn-social:hover {
        transform: translateY(-2px);
    }

.login-btn-google {
    background: #4285f4;
    color: white;
}

.login-btn-facebook {
    background: #3b5998;
    color: white;
}

.login-form-group {
    margin-bottom: 20px;
}

    .login-form-group label {
        display: block;
        margin-bottom: 8px;
        color: #4a5568;
    }

    .login-form-group input {
        width: 100%;
        padding: 12px;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s ease;
    }

        .login-form-group input:focus {
            outline: none;
            border-color: #667eea;
        }

.login-register-btn {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .login-register-btn:hover {
        background: #764ba2;
    }

.login-divider {
    text-align: center;
    margin: 25px 0;
    color: #a0aec0;
    position: relative;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        display: inline-block;
        width: 45%;
        height: 1px;
        background: #e2e8f0;
        vertical-align: middle;
        margin: 0 10px;
    }


  /* Responsive styles for mobile */
  @media (max-width: 768px) {
    .country-code {
      position: absolute;
      left: 19px;
      top: 68%;
      transform: translateY(-50%);
      color: #4a5568;
      pointer-events: none;
      font-size: 25px;
    }
    .mobile-field {
      width: 85% !important;
    }
  }

  @media screen and (min-width: 250px) and (max-width: 768px) {
    .country-code {
      position: absolute;
      left: 19px;
      top: 68%;
      transform: translateY(-50%);
      color: #4a5568;
      pointer-events: none;
      font-size: 25px;
    }
    .mobile-field {
      width: 85% !important;
    }
  }
