* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
    background: linear-gradient(135deg, #392395 0%, #1a0a5c 100%);
}
body {
    font-family: 'Open Sans';
    overflow: hidden;
    background: linear-gradient(135deg, #392395 0%, #1a0a5c 100%);
}


.main {
    display: flex;
    height: 100vh;
}

.order-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 400px;
    animation: slideInLeft 0.8s ease-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.imgLogo {
    width: 100%;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.welcome-text {
    color: #ede8ab;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.subtitle {
    color: rgba(237, 232, 171, 0.8);
    font-size: 1rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.loginForm {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-container {
    position: relative;
    transition: all 0.3s ease;
}

.input-container.focused label {
    transform: translateY(-25px) scale(0.85);
    color: #ede8ab;
}

.form-control {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid rgba(237, 232, 171, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    color: white;
    border-color: #ede8ab;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(237, 232, 171, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(237, 232, 171, 0.7);
    font-size: 1.1rem;
    z-index: 2;
}

.loginLabel {
    position: absolute;
    left: 50px;
    top: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: linear-gradient(135deg, #280f91 0%, #1a0a5c 100%);
    padding: 0 5px;
    z-index: 3;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(237, 232, 171, 0.7);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ede8ab;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #ede8ab;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.forgot-link {
    color: #ede8ab;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #f5f0c4;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ede8ab 0%, #f5f0c4 100%);
    color: #280f91;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(237, 232, 171, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #f5f0c4 0%, #ede8ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 232, 171, 0.4);
}

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

.custom-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b7a;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.forgotPass {
    color: #ede8ab;
    text-decoration: none;
}

.forgotPass:hover {
    color: #f5f0c4;
    text-decoration: underline;
}

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

.help-link {
    color: rgba(237, 232, 171, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: #ede8ab;
}

.order-right {
    width: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-right:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 15, 145, 0.1) 0%, rgba(26, 10, 92, 0.1) 100%)
}
.order-right:before {
    background-image: url('/images/test/background-new3.png');
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlideshow 3s forwards;
}


@keyframes fadeSlideshow {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 15, 145, 0.7) 0%, rgba(26, 10, 92, 0.5) 100%);
    backdrop-filter: blur(1px);
}

.right-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 400px;
    animation: slideInRight 0.8s ease-out;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ede8ab;
}

.feature-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.login-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.login-feature-item i {
    font-size: 1.5rem;
    color: #ede8ab;
}

.login-feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.join-link-pc{
    display: block;
}
.join-link-mobile{
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Allow vertical scrolling */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    .main {
        flex-direction: column;
        height: auto; /* Allow content to determine height */
        min-height: 100vh; /* Ensure at least full viewport height */
    }
    
    .order-left {
        width: 100%;
        height: auto; /* Let content determine height */
        min-height: 100vh; /* Ensure it takes at least full viewport */
        padding: 2rem 1rem;
    }
    
    .order-right {
        display: none; /* Hide the right panel on mobile */
    }
    
    .login-container {
        max-width: 350px;
        height: auto; /* Remove fixed height */
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    /* Partner logos adjustments for mobile */
    .partner-logos {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .partner-logos img {
        display: block;
        margin: 10px auto;
    }
    
    .join-link-pc{
        display: none;
    }
    .join-link-mobile{
        display: block;
    }
}

@media (max-width: 480px) {
    .order-left {
        padding: 1rem;
        min-height: 100vh;
    }
    
    .welcome-text {
        font-size: 1.5rem;
    }
    
    .imgLogo {
        width: 80%;
        max-width: 200px;
    }
    
    .login-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .loginLabel{
        top: 13px;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-control {
        padding: 12px 45px 12px 45px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .partner-logos {
        padding: 1rem 0;
    }
}

/* For very small screens */
@media (max-width: 320px) {
    .order-left {
        padding: 0.5rem;
    }
    
    .login-container {
        padding: 0 5px;
    }
    
    .form-control {
        padding: 10px 40px 10px 40px;
    }
    
    .loginLabel{
        top: 11px;
    }

    .welcome-text {
        font-size: 1.3rem;
    }
}

/* Partner logos styling */
.partner-logos {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(237, 232, 171, 0.2);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.partner-logo-login {
    margin: 0 10px 10px 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1.1);
}

.partner-logo-login:hover {
    opacity: 1;
}

/* Specific sizing for each logo */
.partner-logos img:nth-child(1) {
        width: 100%;
}

.partner-logos img:nth-child(2) {
    width: 120px;
    margin-bottom: 16px !important;
}

.partner-logos img:nth-child(3) {
    width: 125px;
    margin-bottom: 10px !important;
}

/* Responsive adjustments for partner logos */
@media (max-width: 480px) {
    .partner-logos img:nth-child(1) {
        width: 100%;
    }
    
    .partner-logos img:nth-child(2) {
        width: 100px;
    }
    
    .partner-logos img:nth-child(3) {
        width: 105px;
    }
}


/* Add these styles to your existing login.css file */

/* Reset Password Page Styles */
.reset-password-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #280f91 0%, #1a0a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.reset-password-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(237, 232, 171, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(40, 15, 145, 0.3);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    animation: slideInUp 0.8s ease-out;
}

.reset-password-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
}

.reset-password-logo,
.reset-invalid-logo,
.reset-success-logo {
    width: 100%;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.reset-password-title {
    color: #ede8ab;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.reset-password-subtitle {
    color: rgba(237, 232, 171, 0.8);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.reset-password-form {
    padding: 0 2rem 2rem 2rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.reset-password-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.reset-password-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid rgba(237, 232, 171, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reset-password-input:focus {
    outline: none;
    border-color: #ede8ab;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(237, 232, 171, 0.1);
}

.reset-password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.reset-password-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(237, 232, 171, 0.7);
    font-size: 1.1rem;
}

.reset-password-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ede8ab 0%, #f5f0c4 100%);
    color: #280f91;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 232, 171, 0.3);
    margin-bottom: 1.5rem;
}

.reset-password-btn:hover {
    background: linear-gradient(135deg, #f5f0c4 0%, #ede8ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 232, 171, 0.4);
}

.reset-password-btn:active {
    transform: translateY(0);
}

.reset-password-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b7a;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.reset-password-navigation {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reset-password-nav-link {
    color: rgba(237, 232, 171, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.reset-password-nav-link:hover {
    color: #ede8ab;
    text-decoration: underline;
}

.reset-password-partners {
    text-align: center;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(237, 232, 171, 0.2);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.reset-password-partner-logo {
    margin: 0 8px 8px 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1.1);
    max-width: 80px;
    height: auto;
}

.reset-password-partner-logo:hover {
    opacity: 1;
}

/* Animation for reset password page */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for reset password */
@media (max-width: 768px) {
    .reset-password-container {
        padding: 1rem;
    }
    
    .reset-password-card {
        max-width: 100%;
        margin: 0;
    }
    
    .reset-password-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .reset-password-logo {
        width: 150px;
    }
    
    .reset-password-title {
        font-size: 1.5rem;
    }
    
    .reset-password-form {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .reset-password-partners {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .reset-password-navigation {
        text-align: center;
        display: block;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .reset-password-input {
        padding: 12px 45px 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .reset-password-logo {
        width: 120px;
    }
    
    .reset-password-title {
        font-size: 1.3rem;
    }
    
    .reset-password-partner-logo {
        max-width: 60px;
        margin: 0 5px 5px 5px;
    }
}




/* Additional Password Pages Styles */

/* Set New Password Page */
.set-new-password-partners {
    text-align: center;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(237, 232, 171, 0.2);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.set-new-password-partner-logo {
    margin: 0 8px 8px 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1.1);
    max-width: 80px;
    height: auto;
}

.set-new-password-partner-logo:hover {
    opacity: 1;
}

/* Specific sizing for partner logos */
.set-new-password-partners img:nth-child(1) {
    width: 120px;
}

.set-new-password-partners img:nth-child(2) {
    width: 100px;
}

.set-new-password-partners img:nth-child(3) {
    width: 105px;
}

/* Reset Invalid Page */
.reset-invalid-icon {
    font-size: 4rem;
    color: #ff6b7a;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.reset-invalid-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(237, 232, 171, 0.9);
    border: 2px solid rgba(237, 232, 171, 0.3);
}

.reset-invalid-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ede8ab;
    border-color: #ede8ab;
    transform: translateY(-2px);
}

.reset-invalid-navigation {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reset-invalid-nav-link {
    color: rgba(237, 232, 171, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.reset-invalid-nav-link:hover {
    color: #ede8ab;
    text-decoration: underline;
}

.reset-invalid-partners {
    text-align: center;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(237, 232, 171, 0.2);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.reset-invalid-partner-logo {
    margin: 0 8px 8px 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1.1);
    max-width: 80px;
    height: auto;
}

.reset-invalid-partner-logo:hover {
    opacity: 1;
}

/* Reset Success Page */
.reset-success-icon {
    font-size: 4rem;
    color: #3dbf75;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.reset-success-navigation {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reset-success-nav-link {
    color: rgba(237, 232, 171, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.reset-success-nav-link:hover {
    color: #ede8ab;
    text-decoration: underline;
}

.reset-success-partners {
    text-align: center;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(237, 232, 171, 0.2);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.reset-success-partner-logo {
    margin: 0 8px 8px 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1.1);
    max-width: 80px;
    height: auto;
}

.reset-success-partner-logo:hover {
    opacity: 1;
}

/* Responsive adjustments for partner logos on all password pages */
@media (max-width: 480px) {
    .set-new-password-partners img:nth-child(1),
    .reset-invalid-partners img:nth-child(1),
    .reset-success-partners img:nth-child(1) {
        width: 100px;
    }
    
    .set-new-password-partners img:nth-child(2),
    .reset-invalid-partners img:nth-child(2),
    .reset-success-partners img:nth-child(2) {
        width: 80px;
    }
    
    .set-new-password-partners img:nth-child(3),
    .reset-invalid-partners img:nth-child(3),
    .reset-success-partners img:nth-child(3) {
        width: 85px;
    }
    
    .reset-invalid-actions,
    .reset-success-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .reset-invalid-btn,
    .reset-success-btn {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}

/* Set New Password Page Styles */
.set-new-password-container {
    height: 100vh;
    background: linear-gradient(135deg, #280f91 0%, #1a0a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.set-new-password-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(40, 15, 145, 0.3);
    animation: slideInUp 0.8s ease-out;
}

.set-new-password-header {
    text-align: center;
    margin-bottom: 2rem;
}

.set-new-password-logo {
    width: 100%;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.set-new-password-title {
    color: #ede8ab;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.set-new-password-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.set-new-password-form {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.set-new-password-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.set-new-password-input {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid rgba(237, 232, 171, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.set-new-password-input:focus {
    outline: none;
    border-color: #ede8ab;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(237, 232, 171, 0.1);
}

.set-new-password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.set-new-password-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(237, 232, 171, 0.7);
    font-size: 1.1rem;
}

.set-new-password-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ede8ab 0%, #f5f0c4 100%);
    color: #280f91;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(237, 232, 171, 0.3);
    margin-bottom: 1.5rem;
}

.set-new-password-btn:hover {
    background: linear-gradient(135deg, #f5f0c4 0%, #ede8ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 232, 171, 0.4);
}

.set-new-password-navigation {
    text-align: center;
    margin-bottom: 1.5rem;
}

.set-new-password-nav-link {
    color: rgba(237, 232, 171, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.set-new-password-nav-link:hover {
    color: #ede8ab;
    text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

.password-strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-fill.weak {
    background: #ff4757;
    width: 25%;
}

.password-strength-fill.medium {
    background: #ffa502;
    width: 50%;
}

.password-strength-fill.strong {
    background: #2ed573;
    width: 75%;
}

.password-strength-fill.very-strong {
    background: #1dd1a1;
    width: 100%;
}

.password-strength-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Password Alert Styles */
.password-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b7a;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.password-alert.success {
    background: rgba(32, 201, 151, 0.1);
    border-color: rgba(32, 201, 151, 0.3);
    color: #20c997;
}

/* Reset Invalid Page */
.reset-invalid-container {
    height: 100vh;
    background: linear-gradient(135deg, #280f91 0%, #1a0a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.reset-invalid-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(40, 15, 145, 0.3);
    text-align: center;
    animation: slideInUp 0.8s ease-out;
}

.reset-invalid-header {
    margin-bottom: 2rem;
}

.reset-invalid-logo {
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.reset-invalid-icon {
    font-size: 4rem;
    color: #ff6b7a;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.reset-invalid-title {
    color: #ede8ab;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.reset-invalid-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.reset-invalid-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.reset-invalid-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ede8ab 0%, #f5f0c4 100%);
    color: #280f91;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(237, 232, 171, 0.3);
}

.reset-invalid-btn:hover {
    background: linear-gradient(135deg, #f5f0c4 0%, #ede8ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 232, 171, 0.4);
    color: #280f91;
    text-decoration: none;
}

.reset-invalid-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(237, 232, 171, 0.9);
    border: 2px solid rgba(237, 232, 171, 0.3);
}

.reset-invalid-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ede8ab;
    border-color: #ede8ab;
    transform: translateY(-2px);
}

/* Reset Success Page */
.reset-success-container {
    height: 100vh;
    background: linear-gradient(135deg, #280f91 0%, #1a0a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.reset-success-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(40, 15, 145, 0.3);
    text-align: center;
    animation: slideInUp 0.8s ease-out;
}

.reset-success-header {
    margin-bottom: 2rem;
}

.reset-success-logo {
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.reset-success-icon {
    font-size: 4rem;
    color: #3dbf75;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.reset-success-title {
    color: #ede8ab;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.reset-success-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.reset-success-actions {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.reset-success-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ede8ab 0%, #f5f0c4 100%);
    color: #280f91;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(237, 232, 171, 0.3);
}

.reset-success-btn:hover {
    background: linear-gradient(135deg, #f5f0c4 0%, #ede8ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 232, 171, 0.4);
    color: #280f91;
    text-decoration: none;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .set-new-password-card,
    .reset-invalid-card,
    .reset-success-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .set-new-password-title,
    .reset-invalid-title,
    .reset-success-title {
        font-size: 1.5rem;
    }
    
    .reset-invalid-actions {
        gap: 10px;
    }
}

.logo-sm{
    width: 80%!important;
    max-width: none!important;

}



.helpText h2{
    margin-left: 0px;
}

h2{
    font-size: 30px;
    font-weight: bold;
    color: #280f91;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 10px;
}

.helpContainer{
    background-color: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color: #280f91; 
    padding: 20px;
}
.helpContainer li{
    margin-bottom: 16px;
}
.helpContainer ul li:nth-child(1){
    margin-top: 16px;
}
.helpContainer a {
    color: #ede8ab;
    text-decoration: underline;
}

.helpContainer a {
    color: #280f91;
    text-decoration: underline;
    font-weight: bold;
}


@media (max-width: 770px) {
    .helpTabs li{
        width: 100%;
        margin-bottom: 5px;
    }
    .helpTabs li button{
        width: 100%;
        border-radius: .5rem!important;
    }

    .helpTabs li.nav-item button.nav-link.active{
        background-color: white!important;
        color: #280f91!important;
        font-weight: bold;
    }
}

.helpTabs li.nav-item button.nav-link.active{
    background-color: white!important;
    color: #280f91!important;
    font-weight: bold;
}


/* Autofill detection helper */
@keyframes onAutoFillStart {
    from { /*empty*/ }
    to { /*empty*/ }
}

@keyframes onAutoFillCancel {
    from { /*empty*/ }
    to { /*empty*/ }
}

input:-webkit-autofill {
    animation-name: onAutoFillStart;
    animation-duration: 0.001s;
}

input:not(:-webkit-autofill) {
    animation-name: onAutoFillCancel;
    animation-duration: 0.001s;
}

/* Enhanced autofill styling to match your design */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: white !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(237, 232, 171, 0.5) !important;
    transition: background-color 5000s ease-in-out 0s;
}


.join-link-pc{
    text-decoration: none;
}
.join-link-mobile{
    color: #ede8ab;
    transition: all 0.3s ease;
    text-decoration: none;
}

.join-link-mobile:hover{
    color: #b8b270;
}