.feature-box {
    padding: 38px 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgb(18 66 101 / 8%);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    width: 100%;
}

.feature-icon {
    font-size: 1.8em;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2em;
    font-weight: 500;
    padding-bottom: 0.25rem;
    text-decoration: none;
    color: #212529;
}

.list-group-item.active {
    background-color: #f44336;
    border-color: #f44336;
}

a {
    text-decoration: none;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #f44336;
}

.nav-link {
    color: #f44336;
}

.nav-link:focus,
.nav-link:hover {
    color: #cd3a2f;
}

.form-signin {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.info-success {
    color: green;
    font-weight: 700;
    font-size: 20px;
}

.form-error {
    font-size: 15px;
    color: red;
}

p {
    margin-bottom: 0 !important;
}

a {
    text-decoration: none !important;
}

.table-main td {
    border: 1px solid;
    text-align: center;
}

.label-main {
    font-size: 15px;
    font-weight: 700;
}

.swap-main {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-right: -50px;
}

.swap-child {
    min-width: 300px;
    margin-right: 50px;
    max-width: 40%;
    width: 500px;
}

.table {
    border-color: black !important;
}

.logo-main {
    max-width: 100%;
    max-height: 250px;
}
.container {
    max-width: 960px !important;
}
html *
{
   font-size: 14px !important;
}
.main {
    background-color: #ffb473;
    border-radius: 20px;
    padding: 10px 30px;
}
.card {
    background-color: #feecd8 !important;
    border-radius: 20px !important;
}

.post-item {
    background-color: #fdf8da;
    border: 1px solid #ffdbb3;
    border-radius: 16px;
    box-shadow: 0 3px 4px rgba(0,0,0,.051);
    padding: 10px;
    min-height: 87px;
}

.post-item>.post-image {
    border: none;
    width: 65px;
}
.post-image {
    /* align-self: start; */
    margin-right: 10px;
    text-align: center;
    width: 65px;
}

.modal-main {
    padding: 24px;
    background-color: #fce3c6 !important;
    border-radius: 10px !important;
}

.border-radius-10 {
    border-radius: 10px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.error_form {
    color: red;
    font-style: italic;
    font-weight: 700;
}
.success-form {
    color: green;
    font-style: italic;
    font-weight: 700;
}

.btn-main-yellow {
    background-color: #ffc10740 !important;
    border-radius: 10px !important;
}

.bg-handle-main {
    width: 100%;
    height: 100%;
    background-color: black; 
    position: fixed;
    top: 0;
    opacity: 0.3;
    left: 0;
    z-index: 1000;
}

.color-main {
    color: #212529 !important;
}

.form-input-main {
    border: 2px solid #ffb473 !important;
    border-radius: 10px !important;
}

.post-detail {
    background-color: #fff3cd;
    border: 3px #fff3cd;
    border-image: none;
    border-radius: 10px;
    border-style: solid solid none;
    border-width: 1px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,.239);
    color: inherit;
    padding: 5px 10px 10px;
}

.post-author {
    color: #dc3545;
}

.post-date {
    color: #6c757d!important;
    font-size: 12px !important;
}

.pager-item {
    background-color: #fdf8da;
    border: 1px solid #ffdbb3;
    border-radius: 10px;
    box-shadow: 0 3px 4px rgba(0,0,0,.051);
    width: 40px;
    height: 40px;
    font-weight: bold;
    margin-left: 5px;
}
.pager-item:hover {
    background-color: #ffc10740;
}
.pager-item.active {
    background-color: #ffc107;
    border-color: #ffc107;
}

.recharge-method-item {
    background-color: #fdf8da;
    border: 3px solid #ffae52;
    border-radius: 16px;
    padding: 10px;
    width: 100%;
}
.recharge-method-item img {
    border-radius: 16px;
    max-height: 100%;
    max-width: 100%;
}

.recharge-method-item:hover {
    border: 3px solid #ff8400;
}

.recharge-method-item.active {
    background-color: #faeda7;
    border: 3px solid #ff5900;
}

.color-red {
    color: red !important;
}

.avatar-main {
    max-height: 65px;
    max-width: 65px;
}

/* ======================================================== */
/* ĐOẠN CODE THÊM MỚI: TỐI ƯU GIAO DIỆN KHU VỰC DASHBOARD PROFILE */
/* ======================================================== */
.nro-profile-box {
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid #e67e22;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    margin: 15px auto;
    max-width: 780px;
    text-align: center;
}

.nro-avatar-wrapper {
    margin-bottom: 12px;
    display: inline-block;
}

.nro-avatar-wrapper img {
    max-height: 75px;
    filter: drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.15));
    transition: transform 0.2s;
}

.nro-avatar-wrapper img:hover {
    transform: scale(1.08);
}

.nro-username-badge {
    background: linear-gradient(135deg, #ff9f43, #ff6b6b);
    color: #ffffff !important;
    font-weight: bold;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 13px !important;
    display: inline-block;
    margin-top: 5px;
    box-shadow: 0 3px 6px rgba(255, 107, 107, 0.3);
}

.nro-balance-badge {
    font-size: 15px !important;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0 20px 0;
    background: #fdf5eb;
    display: inline-block;
    padding: 5px 18px;
    border-radius: 30px;
    border: 1px dashed #e67e22;
}

.nro-grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    justify-content: center;
    padding: 5px;
}

.nro-btn-game {
    background: linear-gradient(180deg, #ff9f43 0%, #e67e22 100%);
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    border: 1px solid #d35400;
    border-radius: 8px;
    padding: 10px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 3px 0 #b33939, 0 4px 6px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
}

.nro-btn-game:hover {
    background: linear-gradient(180deg, #ffa852 0%, #f39c12 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #b33939, 0 5px 10px rgba(0, 0, 0, 0.2);
}

.nro-btn-game:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #b33939, 0 2px 3px rgba(0, 0, 0, 0.15);
}

.nro-btn-logout {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5253 100%);
    border-color: #c0392b;
    box-shadow: 0 3px 0 #7f1d1d, 0 4px 6px rgba(0, 0, 0, 0.15);
}

.nro-btn-logout:hover {
    background: linear-gradient(180deg, #ff7979 0%, #ff5252 100%);
    box-shadow: 0 5px 0 #7f1d1d, 0 5px 10px rgba(0, 0, 0, 0.2);
}