:root {
    --primary-color: #0065A0;
    --secondary-color: #10204d;
    --tertiary-color: #18305c;
    --quaternary-color: #104F8D;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 30% 20%, var(--primary-color) 100%, var(--secondary-color) 100%);
}

.atlas-login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
}

.logo-stroke {
    transition: stroke 0.7s;
}

.atlas-left {
    flex: 1 1 0;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

#logo-svg-container {
    max-width: 340px;
    width: 100%;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    color: #e0e0e0;
    font-size: 13px;
    margin-top: 32px;
    text-align: center;
    z-index: 10;
    position: relative;
    width: 100%;
    letter-spacing: 0.5px;
}

.atlas-right {
    flex: 0 0 480px;
    background: #f6f7fb;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 320px;
    box-shadow: -2px 0 16px 0 rgba(0,0,0,0.07);
    position: relative;
    z-index: 2;
    padding: 0;
}

.atlas-login-form-area {
    width: 100%;
    padding: 48px 40px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.atlas-login-form-area img {
    width: 160px;
    margin-bottom: 18px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.atlas-login-title {
    font-weight: 600;
    margin-bottom: 24px;
    color: #222;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: #333;
}

.input-group-addon {
    border: none;
    font-size: 18px;
}

.input-group-addon:hover {
    color: var(--primary-color) !important;
}

.form-control {
    border-radius: 0% !important;
    font-size: 15px;
    background: #f9fafb;
    transition: border 0.2s;
}

.form-control:focus {
    border-radius: 0% !important;
    outline: none;
    border-bottom: 1px solid gray;
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 100% 1px;
    background-position: bottom;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.text-info-dark {
    color: var(--primary-color) !important;
}

.text-info-light {
    color: var(--primary-color) !important;
}

.text-info-light:hover {
    color: var(--secondary-color) !important;
}

.btn-login {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    width: 100%;
    height: 44px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 12px;
    transition: ease 1s, box-shadow 1s, transform 1s;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-login:hover,
.btn-login:focus {
    background: var(--primary-color);
    box-shadow: 0 4px 16px 0 var(--secondary-color);
    transform: translateY(-2px) scale(1.03);
}

.btn-login:active {
    background: var(--secondary-color);
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.10);
    transform: scale(0.98);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-links {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
}

.login-links a {
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s;
    font-weight: 500;
    display: inline-block;
}

.login-links a:hover {
    color: #10b981;
    text-decoration: underline;
}

.eye {
    cursor: pointer;
    color: #b0b0b0;
    font-size: 18px;
}

.eye:hover {
    color: #10b981;
}

.spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid #fff6;
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

@media (max-width: 991px) {
    .atlas-left {
        display: none !important;
    }
    .atlas-right {
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 100vh;
    }
    .atlas-login-form-area {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding-top: 0;
        padding-bottom: 0;
    }
    .atlas-login-wrapper {
        flex-direction: column;
    }
    .atlas-left,
    .atlas-right {
        flex: none;
        min-width: 0;
        width: 100%;
        box-shadow: none;
    }
    .atlas-right {
        min-height: 420px;
        box-shadow: none;
    }
    .atlas-left {
        padding: 40px 8vw 0 8vw;
    }
    .atlas-login-form-area {
        padding: 32px 8vw 24px 8vw;
    }
}

@media (max-width: 600px) {
    .atlas-left {
        padding: 24px 2vw 0 2vw;
    }
    .atlas-login-form-area {
        padding: 18px 4vw 14px 4vw;
    }
    .atlas-login-form-area img {
        width: 160px;
    }
    .atlas-login-title {
        font-size: 15px;
    }
}