.login-section{
    margin-top: 5rem;
}
.login-container {
    display: flex;
    /* height: 90vh; */
    position: relative;
}

.background-image {
    flex: 1;
    width: 100%;
    height: 80vh;
    background-image: url('../img/login-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    order: 2;
}

.login-panel {
    background: #161616;
    width: 100%;
    max-width: 400px;
    min-width: 400px;
    display: flex;
    align-items: center;
    padding: 2rem;
    transition: all 0.3s ease;
    order: 1;
}

.login-content {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}


.login-header h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 0px;
}

.login-header p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 32px;
}

#axis-login-form .form-label {
    font-size: 18px;
    color: #fff;
    font-weight: 100;
    width: 100%;
}

#axis-login-form .form-control {
    padding: 13px;
    border-radius: 6px;
    border: 1px solid #2f2f2f;
    background-color: rgba(47, 47, 47, 0.12);
    color: white;
}

#axis-login-form .form-control::placeholder {
    color: #fff;
    font-size: 16px;
    font-weight: 100;
}


.pw-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.pw-input {
  padding-right: 40px;
  font-size: 16px;
}

.pw-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Smooth animation for images */
.pw-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
  transition: all 0.25s ease;
}

.pw-icon.active {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.login-button {
    position: relative;
    display: inline-block;
    padding: 10px 35px;
    font-size: 18px;
    color: #000;
    background: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 6px;
    font-weight: 300;
    width: 100%;
}
.login-button::before{
    content: "";
    position: absolute;
    top: -2px;
    left: -10px;
    width: 22px;
    height: 22px;
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.login-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-button:active {
    transform: translateY(0);
}

.support-text {
    text-align: left;
    margin-top: 1.5rem;
}

.support-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.43;
    font-weight: 100;
}

.support-text a {
    color: #ff6b6b;
    text-decoration: underline;
    font-weight: 14px;
    font-weight: 100;
    transition: color 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .support-text {
    margin-top: 10px;
}

    .login-header h1{
        font-size: 32px;
    }
    .login-header p{
        font-size: 16px;
        color: #fff;
    }
    #axis-login-form .form-control{
                border: 1px solid #fff;
    }
    .login-section{
        margin-top: -3rem;
    }
    .login-container {
        flex-direction: column;
    }
    
    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center bottom;
        order: 1;
        z-index: 1;
        background-image: url('../img/login-mb-bg.webp');
    }
    
    .login-panel {
        position: relative;
        z-index: 2;
        background: transparent;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        max-width: none;
        min-width: 100%;
        width: 100%;
        min-height: 100vh;
        padding: 2rem 1.5rem;
        justify-content: flex-start;
        padding-top: 4rem;
        order: 2;
    }
    
    .login-content {
        max-width: none;
        width: 100%;
    }
    
    .header {
        margin-bottom: 3rem;
        text-align: left;
    }
    
    .header h1 {
        font-size: 2.25rem;
    }
    
    .login-form {
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .input-group input {
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .input-group label {
        font-size: 1rem;
    }
    
    .login-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    
    .support-text p {
        font-size: 14px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .login-panel {
        padding: 20px;
    }
}

/* Desktop larger screens */
@media (min-width: 1200px) {
    .login-panel {
        max-width: 500px;
        min-width: 500px;
        padding: 0rem 1.5rem;
    }
    
    .login-content {
        max-width: 360px;
    }
    
    .header h1 {
        font-size: 2.25rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}

/* Smooth transitions for all interactive elements */
input, button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for accessibility */
input:focus,
button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading state for form submission */
.login-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}