
.login-page-body {
    min-height: 100vh;
    overflow: hidden;
}

.login-page-body main {
    background: transparent !important;
    padding: 0 !important;
    min-height: 100vh !important;
}

.login-page-body footer,
.login-page-body header,
.login-page-body #footer,
.login-page-body #header {
    display: none !important;
}

body:has(.login-page) footer,
body:has(.login-page) header,
body:has(.login-page) #footer,
body:has(.login-page) #header {
    display: none !important;
}

.login-page {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #ac8bee 0%, #ccc8c8 100%);
    position: relative;
    z-index: 10;
}

.login-form-container {
    width: 100%;
    max-width: 380px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: #461370;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-header p {
    color: #6e4577;
    font-size: 1rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 25px;
    padding: 5px 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.login-form .input-wrapper:focus-within {
    border-color: #aa3292;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(170, 50, 146, 0.1);
}

.login-form .input-icon {
    color: #aa3292;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.login-form .password-toggle-icon {
    color: #aa3292;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.login-form .password-toggle-icon:hover {
    color: #7c256b;
}

.login-form .form-control {
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 1rem;
    color: #333 !important;
    flex: 1;
    min-width: 0;
}

.login-form .form-control:focus {
    outline: none;
    box-shadow: none;
}

.login-form input[type="password"]::-ms-reveal,
.login-form input[type="password"]::-ms-clear {
    display: none;
}

.login-form input[type="text"]::-ms-reveal,
.login-form input[type="text"]::-ms-clear {
    display: none;
}

.login-form .form-control::placeholder {
    color: #999;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.login-options .form-check-label {
    color: #666;
}

.login-options .form-check-input:checked {
    background-color: #aa3292;
    border-color: #aa3292;
}

.forgot-link {
    color: #aa3292;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #7c256b;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #aa3292, #7c256b);
    border: none;
    border-radius: 25px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-btn:hover {
    background: linear-gradient(135deg, #7c256b, #461370);
    box-shadow: 0 8px 25px rgba(170, 50, 146, 0.4);
}

.login-form .invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    padding-left: 20px;
}

.login-form .has-error .input-wrapper {
    border-color: #dc3545;
}

.login-form-container .alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.login-form-container .alert-success {
    background-color: rgba(87, 255, 26, 0.15);
    border: 1px solid #57ff1a;
    color: #1a5c00;
}

.login-form-container .alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #a71d2a;
}

.login-subtitle {
    color: #6e4577;
    font-size: 0.95rem;
    margin-top: 10px;
}

.login-right {
    flex: 1;
    background: linear-gradient(135deg, #692878 0%, #461370 50%, #200c25 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.logo_section{
    position: absolute;
    top: 10%;
}

.welcome-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.welcome-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.sonar-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 3;
}

.sonar-badge img {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sonar-badge img:hover {
    opacity: 1;
}

.cloud-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 1;
}

.cloud-decoration svg {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.curved-edge {
    position: absolute;
    left: -100px;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 1;
}

.curved-edge::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 0;
    width: 200px;
    height: 120%;
    background: linear-gradient(180deg, #692878 0%, #461370 50%, #200c25 100%);
    border-radius: 0 50% 50% 0;
}

@media (max-width: 992px) {
    .login-page {
        flex-direction: column;
    }

    .login-right {
        display: none;
    }

    .login-left {
        min-height: 100vh;
        background: linear-gradient(135deg, rgba(105, 40, 120, 0.05) 0%, rgba(70, 19, 112, 0.1) 100%);
    }

    .curved-edge {
        display: none;
    }
}

.two-factor-info {
    text-align: center;
    color: #6e4577;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.two-factor-info i {
    color: #aa3292;
    margin-right: 6px;
}

.two-factor-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px 0;
}

.two-factor-divider::before,
.two-factor-divider::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background-color: #8c6595;
    opacity: 0.4;
}

.two-factor-divider span {
    color: #8c6595;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.two-factor-back {
    text-align: center;
}

a.back-to-login-btn,
a.back-to-login-btn:link,
a.back-to-login-btn:visited {
    display: block;
    width: 100%;
    padding: 14px 30px;
    border: 2px solid #aa3292;
    border-radius: 25px;
    color: #aa3292;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

a.back-to-login-btn:hover {
    background-color: rgba(170, 50, 146, 0.1);
    color: #7c256b;
    border-color: #7c256b;
    text-decoration: none;
}

a.back-to-login-btn i {
    margin-right: 6px;
}
