﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Toàn bộ trang */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Đảm bảo trang có thể dài hơn màn hình */
}

/* Header & Footer */
.header {
    background: #007bff;
    color: white;
    text-align: left;
    padding: 5px 19px;
}

/* Phần chính (Main) */
.main {
    flex: 1; /* Đẩy nội dung body xuống */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    min-height: calc(100vh - 128px); /* Tạo khoảng không gian để có thể scroll nếu nội dung lớn */
}

/* Thẻ div nằm giữa */
.centered-div {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    min-height: 200px;
    text-align: center;
    overflow: auto;
    display: flex;
    position: relative;
}

/* Đảm bảo footer luôn nằm dưới cùng */
.footer {
    margin-top: auto;
    text-align: right;
    background: #007bff;
    color: white;
    padding: 15px 20px;
}

.row-space {
    line-height: 25px;
    margin-top: 8px;
    text-align: left;
}

.login-form {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    width: 450px;
}

.cgm-keycode {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: -2px;
}

.cgm-keycode-child-1 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    position: relative !important;
}

.cgm-keycode-child-2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 50%;
}

.cgm-keycode-child-3 {
    top: 40px !important;
    position: absolute !important;
}

.KhoangCachLogin {
    margin-top: 4px;
}
#ContentPlaceHolder1_tbCapcha {
    text-transform: uppercase;
}
    #ContentPlaceHolder1_tbCapcha::placeholder {
        text-transform: none;
        font-weight: 500 !important;
    }

.cng-head-bar span {
    font-size: 20px;
    font-weight: bold;
}

.cng-head-bar {
    position: relative;
}

.info-pm {
    display: inline-flex;
    position: absolute;
    top: 10px;
}
