* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #0d5ca7 url('../img/bg-map.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.login-container-sso {
    display: flex;
    width: 90%;
    max-width: 1100px;
    height: auto;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

/* PANEL BÊN TRÁI */
.sso-left-panel {
    flex: 1;
    color: #ffffff;
    text-align: center;
    padding: 40px;
}

.logo-main {
    max-width: 160px;
    margin-bottom: 25px;
}

.system-title {
    color: #ffeb3b;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 35px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.contact-info {
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.95;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    display: inline-block;
    text-align: left;
}

/* PANEL BÊN PHẢI */
.sso-right-panel {
    flex: 1;
    display: flex;
    justify-content: center;
}

.form-card-sso {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.form-title {
    color: #0b4a8f;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
    font-weight: bold;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #c8d2df;
    background: #edf2f9;
    border-radius: 4px;
}

.input-wrapper .icon {
    padding: 12px;
    color: #666;
    font-size: 16px;
}

.input-wrapper input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 12px 5px;
    font-size: 15px;
    outline: none;
    color: #333;
}

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

.remember-me {
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot-link {
    color: #0d5ca7;
    text-decoration: none;
    font-weight: bold;
}

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

/* NÚT BẤM */
.action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-transform: uppercase;
    border-radius: 4px;
}

.btn-primary {
    background-color: #0b4a8f;
    color: white;
}

.btn-primary:hover {
    background-color: #08386b;
}

.btn-secondary {
    background-color: #0f5295;
    color: white;
}

.btn-secondary:hover {
    background-color: #0a3d70;
}

.btn:active {
    transform: scale(0.99);
}

/* ALERTS */
.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 13px;
}
.alert-error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* FOOTER */
.footer-copyright {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    body {
        overflow-y: auto;
        height: auto;
        padding: 40px 0;
    }
    .login-container-sso {
        flex-direction: column;
        width: 100%;
    }
    .sso-left-panel {
        padding: 20px;
        margin-bottom: 20px;
    }
    .sso-right-panel {
        width: 100%;
        padding: 0 20px;
    }
}
