/* Merged and adjusted retro CSS */

/* From global.css */
body {
    font: 13px Tahoma, Arial, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    line-height: 19px;
    background: url(../images/retro/loop.jpg) repeat-x #ceebff !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
ul,
ul li,
ol,
ol li,
dl,
dl dt,
dl dd,
blockquote {
    margin: 0;
    padding: 0;
}

ul,
ul li,
ol,
ol li {
    list-style: none;
}

img {
    border: none;
}

a {
    outline: none;
}

a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* From style.css */
#Wrapper {
    background: url(../images/retro/main.jpg) no-repeat top center;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

#WrapperIn {
    width: 952px;
    margin: 0 auto;
}

#Header {
    width: 100%;
    height: 115px;
    position: relative;
}

#Header h1 {
    position: absolute;
    top: 40px;
    left: 390px;
}

#Header h1 a {
    text-indent: -9999px;
    display: block;
    width: 175px;
    height: 70px;
}

#Header .ShortLink {
    position: absolute;
    top: 39px;
    right: 4px;
    list-style: none;
}

#Header .ShortLink li {
    float: left;
}

#Header .ShortLink li a {
    background: url(../images/retro/shortlink.jpg);
    height: 40px;
    display: block;
    text-indent: -9999px;
}

#Header .ShortLink li a.TrangChu:link,
#Header .ShortLink li a.TrangChu:visited {
    width: 94px;
    background-position: 0 0;
}

#Header .ShortLink li a.TrangChu:hover {
    background-position: 0 -40px;
}

#Header .ShortLink li a.DienDan:link,
#Header .ShortLink li a.DienDan:visited {
    width: 94px;
    background-position: -94px 0;
}

#Header .ShortLink li a.DienDan:hover {
    background-position: -94px -40px;
}

#Header .ShortLink li a.NapXu:link,
#Header .ShortLink li a.NapXu:visited {
    width: 94px;
    background-position: 94px 0;
}

#Header .ShortLink li a.NapXu:hover {
    background-position: 94px -40px;
}

#MainContent {
    padding: 20px 0 0 16px;
    overflow: hidden;
    min-height: 440px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Custom styles for Account Page within Retro layout */
.AccountLayout {
    display: flex;
    gap: 20px;
    padding: 10px;
}

.RetroSidebar {
    width: 250px;
    background: #f0e2c5;
    border: 2px solid #c09349;
    border-radius: 8px;
    padding: 15px;
}

.RetroSidebar h3 {
    color: #654426;
    border-bottom: 2px solid #c09349;
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-weight: bold;
}

.RetroNav a {
    display: block;
    padding: 10px;
    margin-bottom: 5px;
    background: #fff;
    border: 1px solid #c09349;
    color: #654426;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
}

.RetroNav a:hover,
.RetroNav a.active {
    background: #c09349;
    color: #fff;
}

.RetroContent {
    flex: 1;
    background: #fff;
    border: 2px solid #c09349;
    border-radius: 8px;
    padding: 20px;
    color: #654426;
}

.RetroContent h2 {
    margin-bottom: 20px;
    color: #ba0000;
    font-weight: bold;
}

.InfoItem {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px dashed #c09349;
}

.InfoLabel {
    font-weight: bold;
    color: #654426;
}

.InfoValue {
    font-size: 16px;
    margin-top: 5px;
}

.XuBalance {
    background: #fff9e6;
    padding: 15px;
    border: 1px solid #ffcc00;
    border-radius: 8px;
    margin-top: 20px;
}

.XuBalance span {
    color: #ba0000;
    font-size: 24px;
    font-weight: bold;
}

#Footer {
    position: relative;
    width: 100%;
    height: 120px;
    color: #647886;
}

#Footer p {
    padding: 40px 0 0 364px;
    font-size: 11px;
}

/* ========== Landing Page: News Section ========== */
.News {
    float: left;
    width: 310px;
    height: 375px;
    overflow: hidden;
}

.News .ListNews {
    list-style: none;
    width: 293px;
    overflow: hidden;
}

.News .ListNews li {
    float: left;
    clear: both;
    width: 293px;
    overflow: hidden;
    padding: 4px 0;
    border-bottom: 1px dotted #c09349;
}

.News .ListNews li a:link,
.News .ListNews li a:visited {
    background: url(../images/retro/icon.gif) no-repeat 1px 5px;
    padding: 0 0 0 12px;
    text-decoration: none;
    color: #654426;
    display: block;
    font-size: 12px;
}

.News .ListNews li a:hover {
    color: #ba0000;
}

.News .ListNews li a span {
    font-weight: normal;
    float: right;
    color: #999;
    font-size: 11px;
}

.News h2 {
    color: #ba0000;
    font-size: 16px;
    border-bottom: 2px solid #c09349;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* ========== Landing Page: Login Section ========== */
.Login {
    float: left;
    width: 299px;
    overflow: hidden;
    padding: 17px 0 0 0;
}

.Login h2 {
    background: url(../images/retro/title-login.gif) no-repeat;
    width: 212px;
    height: 49px;
    margin: 0 auto;
    text-indent: -9999px;
    margin-bottom: 10px;
}

.Login form input {
    border: 1px solid #c09349;
    background: #fff;
}

.Login form div.frm_dangnhap {
    padding: 0 0 0 30px;
    clear: both;
}

.Login form div.username input,
.Login form div.password input {
    height: 20px;
    width: 150px;
    padding: 3px 5px;
    font-size: 13px;
}

.Login form div.username {
    background: url(../images/retro/username.jpg) no-repeat;
    padding: 0 0 0 100px;
    margin-bottom: 5px;
    height: 26px;
    line-height: 26px;
}

.Login form div.password {
    background: url(../images/retro/password.jpg) no-repeat;
    padding: 0 0 0 100px;
    margin-bottom: 5px;
    height: 26px;
    line-height: 26px;
}

.Login form div.frm_button {
    clear: both;
    margin-bottom: 1px;
}

.Login form div.frm_button a:link,
.Login form div.frm_button a:visited {
    background: url(../images/retro/choingay.gif) no-repeat;
    width: 220px;
    height: 72px;
    display: block;
    text-indent: -9999px;
    margin: 0 auto;
}

.Login form div.frm_button a:hover {
    background-position: 0 -72px;
}

.Login form div.login p {
    text-align: center;
    margin-top: 5px;
}

.Login form div.login p a {
    color: #654426;
    font-weight: bold;
}

.Login form div.login p a:hover {
    color: #ba0000;
}

/* ========== Landing Page: Quick Register ========== */
.QuickReg {
    float: left;
    overflow: hidden;
    width: 320px;
    padding: 30px 0 0 0;
}

.QuickReg .quickReg a {
    background: url(../images/retro/quick.jpg) no-repeat;
    width: 202px;
    height: 53px;
    display: block;
    text-indent: -9999px;
    margin: 0 auto;
}

.QuickReg .quickReg div.Img {
    background: url(../images/retro/chick.jpg) no-repeat 45px 22px;
    width: 100%;
    height: 290px;
}

/* ========== Landing Page: Alert messages ========== */
.retro-alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}

.retro-alert-success {
    background: #f0fff0;
    border: 1px solid #27ae60;
    color: #27ae60;
}

.retro-alert-danger {
    background: #fff1f1;
    border: 1px solid #ba0000;
    color: #ba0000;
}

/* Social Login on retro layout */
.retro-social-login {
    margin-top: 15px;
    text-align: center;
    clear: both;
}

.retro-social-login p {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.retro-social-login a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 12px;
    margin: 0 5px;
}

.retro-social-login a.google-btn {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.retro-social-login a.facebook-btn {
    background: #1877f2;
    color: #fff;
    border: 1px solid #1565c0;
}

/* ========== Registration Popup Modal (Classic Gunny Style) ========== */
.retro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retro-modal {
    background: url(../images/retro/bg-news.jpg) repeat;
    border: 3px solid #c09349;
    border-radius: 10px;
    width: 420px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-bottom: 20px;
}

.retro-modal-header {
    text-align: center;
    padding: 15px 15px 5px;
    position: relative;
}

.retro-modal-header h3 {
    color: #654426;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    font-family: "Times New Roman", serif;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.retro-modal-header h3::after {
    content: "~✿~";
    display: block;
    font-size: 14px;
    color: #c09349;
    margin-top: 2px;
}

.retro-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #ba0000;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1;
    background: #f0e2c5;
    border: 2px solid #c09349;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
}

.retro-modal-close:hover {
    background: #ba0000;
    color: #fff;
    border-color: #ba0000;
}

.retro-modal-body {
    padding: 10px 30px 5px;
}

.retro-form-group {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.retro-form-group label {
    display: block;
    color: #654426;
    font-weight: bold;
    font-size: 12px;
    min-width: 120px;
    text-align: right;
    flex-shrink: 0;
}

.retro-form-group input {
    flex: 1;
    padding: 5px 8px;
    border: 1px solid #c09349;
    border-radius: 3px;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
    height: 28px;
}

.retro-form-group input:focus {
    border-color: #ba0000;
    outline: none;
    box-shadow: 0 0 3px rgba(186, 0, 0, 0.3);
}

.retro-form-group small {
    display: block;
    font-size: 11px;
    margin-top: 2px;
    color: #999;
    padding-left: 128px;
}

.retro-form-hint-row {
    margin-bottom: 5px;
    padding-left: 128px;
}

.retro-form-hint-row small {
    font-size: 11px;
    color: #999;
}

.retro-btn-submit {
    display: block;
    width: 149px;
    height: 52px;
    background: url(../images/retro/dangky.gif) no-repeat;
    border: none;
    cursor: pointer;
    text-indent: -9999px;
    margin: 15px auto 0;
    padding: 0;
}

.retro-btn-submit:hover {
    background: url(../images/retro/dangky-o.gif) no-repeat;
}

/* ========== Shared: Center Content Box ========== */
.retro-center-box {
    max-width: 450px;
    margin: 20px auto;
    background: url(../images/retro/bg-news.jpg) repeat;
    border: 3px solid #c09349;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.retro-page-title {
    color: #654426;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 15px;
    font-family: "Times New Roman", serif;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.retro-page-title::after {
    content: "~✿~";
    display: block;
    font-size: 13px;
    color: #c09349;
    margin-top: 2px;
}

/* ========== Shared: Alert Messages ========== */
.retro-alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
}

.retro-alert-success {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid #27ae60;
    color: #27ae60;
}

.retro-alert-danger {
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid #c0392b;
    color: #c0392b;
}