.login{
    min-height: calc(100vH - 100px);
}
body {
  color: #000;
}
.language-dropdown-button:after{
    display: none;
}
.language-dropdown-button{
    background: #f0f0f0;
    border-radius: 10px;
    border: 0;
    padding: 5px 10px;
    font-size: 15px;
}
.btn--login{
    font-weight: 400;
    margin: 0 10px;
    color: #0f2f64;
}
.navbar .navbar__links .navbar__links__link{
    text-transform: none;
}
.login-register-button.btn--login{
    margin: 0;
}
.navbar .navbar__sign{
    gap: 0px;
}
.login-register-button{
    padding: 7px 15px!important;
    font-weight: normal;
}
.navbar .navbar__links .navbar__links__link.active {
    color: #1e5dbc;
  }

/* Header nav dropdown (subpages): label is a link, caret toggles menu */
.navbar .navbar__links .navbar__links__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 15px 0;
}
.navbar .navbar__links .navbar__links__dropdown .navbar__links__dropdown-inner {
  display: inline-flex;
  align-items: center;
}
.navbar .navbar__links .navbar__links__dropdown .navbar__links__dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  margin: 0;
  color: inherit;
  line-height: 1;
  pointer-events: none;
}
.navbar .navbar__links .navbar__links__dropdown:hover .navbar__links__dropdown-caret {
  color: #1e5dbc;
}
.navbar .navbar__links .navbar__links__dropdown .navbar__links__link {
  padding-right: 0;
}
.navbar .navbar__links .dropdown .dropdown-menu {
  position: absolute;
  left: 0;
  right: auto;
  top: 70%;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  min-width: 12rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 47, 100, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.navbar .navbar__links .dropdown .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #0f2f64;
  transition: background-color 0.15s, color 0.15s;
}
.navbar .navbar__links .dropdown .dropdown-item:hover,
.navbar .navbar__links .dropdown .dropdown-item:focus {
  background-color: rgba(30, 93, 188, 0.08);
  color: #1e5dbc;
}
.navbar .navbar__links .dropdown .dropdown-item.active {
  background-color: rgba(30, 93, 188, 0.12);
  color: #1e5dbc;
  font-weight: 500;
}

/* Header nav: open dropdown on hover (desktop only) */
@media (min-width: 992px) {
  /* Extend hover area so moving mouse into menu doesn’t leave the trigger */
  
  .navbar .navbar__links .navbar__links__dropdown .dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
  }
  .navbar .navbar__links .navbar__links__dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.button-text {
    display: inline-block;
    vertical-align: middle;
}
.google-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.cabinet-btn {
    background-color: #1e5dbc;
    color: #ffffff;
    border-radius: 100px;
    padding: 7px 20px;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
    border: 0 solid #000000;
}

.dropdown-toggle::after{
    margin-left: 5px;
}
.dropdown-item.active, .dropdown-item:active{
    background-color: #0f2f64;
}
.cabinet-btn:hover {
    background-color: #1e5dbc;
    color: #ffffff;
}

.cabinet-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer{
    margin-top: 0;
}
.footer .container{
    padding-top: 3rem;
}
form .error-message{
    width: 100%;
    margin-top: -.25rem;
    font-size: .875em;
    color: #dc3545;
}
.help-text ul li{
    font-style: italic;
    font-size: 12px;
}

/** =========== Bonus Card ========= */

.bonus-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 800px;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bonus-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

.bonus-amount {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

.bonus-description {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.bonus-history-btn {
    background-color: white;
    border: 2px solid #000;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bonus-history-btn:hover {
    background-color: #f8f9fa;
}

/** ====== Tracking Numbers List =============== **/

.tracking-container {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.product-header > .product-title{
    flex-grow: 1;
}
.tracking-details-dropdown-container .dropdown-item.confirm-message {
    color: red;

}
.dropdown-item{
    font-size: 14px;
    font-weight: 300;
}
.tracking-details-dropdown-container .dropdown-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.tracking-details-dropdown-container .dropdown-item svg {
    width: 18px;
}
.tracking-details-dropdown-container > a svg {
  transform: rotate(90deg);
}
.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-title {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    margin: 0;
    letter-spacing: -.5px;
}

.delivery-status{
    font-size: 14px;
    font-weight: 300;
    color: #333;
}

.tracking-number {
    font-size: 16px;
    font-weight: 300;
    color: #000;
}

.received-info {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #000;
    font-weight: 300;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.shopping-label {
    margin-left: auto;
    color: #ccc;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
}
.transaction-amount .token-sign{
    font-size: 12px;
    font-weight: bold;
    top: -1px;
}
.token-item .token-sign{
    font-size: 14px;
    top:-1px;
    font-weight: bold;
    margin-left: 2px;
}
.token-sign{
    margin-left: 3px;
    position: relative;
    top:-2px;
    font-size: 25px;
}
/** ============== Dot Loader ================= */

.dot-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dot-loader span {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    background-color: #000;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.3;
    animation: dot-flashing 1.4s infinite linear;
}

.dot-loader span:nth-child(1) {
    animation-delay: 0s;
}

.dot-loader span:nth-child(2) {
    animation-delay: 0.4s;
}

.dot-loader span:nth-child(3) {
    animation-delay: 0.8s;
}

.errorlist {
    list-style: none;
    padding: 0.5rem 1rem;
    border: 1px solid #f5c6cb;
    border-radius: 0.375rem;
    color: #721c24;
    background-color: #f8d7da;
}

.errorlist li {
    margin-bottom: 0.25rem;
}
.errorlist li:last-child{
    margin-bottom: 0;
}
.errorlist:empty {
    display: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 13px;
    color: #68718b;
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: #0f2f64;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #1e5dbc;
}

.breadcrumbs__sep {
    color: #ccc;
    user-select: none;
}

.breadcrumbs__current {
    color: #000;
}

.secondary-action-button.text-success:hover{
    background-color: #fff!important;
}
.secondary-action-button.text-red{
    border-color: red;
}
.secondary-action-button.text-success{
    border-color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}
.secondary-action-button,
.back-button {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    margin: 0px 0 15px;
    border: 1px solid #000;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}
.secondary-action-button{
    gap: 5px;
}
.secondary-action-button svg{
    width: 16px;
}
.secondary-action-button:hover,
.back-button:hover {
    background-color: #1e5dbc;
    color: #fff;
    border-color: #1e5dbc;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

h1.page-title{
    font-weight: 600;
}

#confirmationModal .btn{
    padding: 10px 15px;
    font-weight: normal;
    border: 0;
}
.personal_info_wrapper .form-group-wrapper {

}

.personal_info_wrapper .form-group-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 0 5px;
}
.form-control:disabled{
    background: #f0f0f0;
}

.badge{
    font-weight: 400;
    font-size: 11px;
    margin-right: 5px;
}
.badge-primary {
    color: #fff;
    background-color: #007bff;
}
.badge-success{
    color: #fff;
    background-color: #28a745;
}

.navbar__title a img{
    max-width: inherit;
    max-height: 3.6rem;
}
@keyframes dot-flashing {
    0%, 80%, 100% {
        opacity: 0.3;
    }
    40% {
        opacity: 1;
    }
}

/* Bonuses Styles */

#bonusesHistoryContent #load-more-bonuses:hover{
    background: #0f2f64;
    color: #fff;
}
#bonusesHistoryContent #load-more-bonuses{
    padding: 5px 10px;
    margin: auto;
    font-size: 12px;
    font-weight: normal;
    border-radius: 100px;
    color: #0f2f64;
    border-color: #0f2f64;
}
#bonusesHistoryContent .bonus-entry .amount{
    width: 17%;
}
#bonusesHistoryContent .bonus-entry .data{
    flex-grow: 1;
}
#bonusesHistoryContent .bonus-entry > div{
    color: #000;
    padding: 12px 16px;
    width: 40%;
    font-size: 12px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
#bonusesHistoryContent .bonus-entry{
    display: flex;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}
#bonusesHistoryContent .bonus-entry:nth-child(2n) {
    background-color: white;
}

/* Modal Custom Styles */
.modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
}

.modal-body {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-footer {
    border-top: none;
    justify-content: space-between;
    padding: 1rem 1.5rem 1.5rem;
}

.btn-modal {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
}

.btn-modal-primary {
    background-color: #000;
    color: #fff;
    border: none;
}

.btn-modal-secondary {
    background-color: #fff;
    border: 1px solid #ced4da;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.right-side-card .action-button {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 30px auto 0;
	padding: 14px 24px;
	background-color: transparent;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 50px;
	text-align: center;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.right-side-card .action-button:hover {
	background-color: #f5f5f5;
}
.tooltip.show {
    opacity: 1;
}
.tooltip-inner {
    background-color: white;
    color: #212529;
    font-size: 13px;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    text-align: left;

}
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-color: white !important;
}
.tooltip .tooltip-arrow {
    display: none !important;
}
.form-control{
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
}
.action-buttons svg.size-6{
    width: 20px;
    height: 20px;
}
svg.size-8{
    width: 22px;
    height: 22px;
}
svg.size-6{
    width: 18px;
    height: 18px;
}
svg.size-7{
    width: 30px;
    height: 30px;
}
.text-red{
    color: red;
}

/** ====== Invoices List =============== **/

.invoice-container {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
/** ====== Reset Password =============== **/
.reset-password__form{
    gap: 0px!important;
}
.reset-password__form .errorlist{
    margin-bottom: 10px;
}
.reset-password__form #id_email{
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
    margin-bottom: 15px;
    width: 100%;
}
.reset-password__form___done{
    min-height: 40Vh;
}

/** ====== Referrals =============== **/
.copy-icon-wrapper .copy-feedback{
    position: absolute;
    top: -15px;
}
.copy-icon-wrapper{
    position: relative;
}
.referral-code{
    font-size: 13px;
    background: #fafafa;
    border:1px solid #f0f0f0;
    padding: 5px 10px;
    border-radius: 2px;
    font-style: italic;
    display: table;
}
.referral-card .detailed-info{
    width: 100%;
}
select.form-control{
    appearance: none;
    background: url('../media/images/icons/arrow-line-down.svg') #fff no-repeat right 15px center;
    background-size: 1.2em;
}
.fs-7.text{
    font-size: 14px;
}

/** ============ calculator card ================**/
.calculator-title{
    color: #fff;
}
.calculator-card #result p span.title{
    font-size: 14px;
    color: #fff;

}
.calculator-card #shipping-form{

}
.calculator-card{
    background: #0f2f64;
    color: #fff;
}
.calculator-card #result p{
    border-bottom: 1px solid #fff;
    padding: 10px 0;
    align-items: center;
    color: #fff;
}
.calculator-card .form-control{
    padding: 8px 10px;
}
.delete-confirmation{
    color: red;
}
/*=========== Login ==================*/

#loginTabs > li > button.active{
    border-radius: 50px;
    background: #f0f0f0;
    border:2px solid #1e5dbc;
    color: #1e5dbc;
}
#loginTabs > li > button{
    margin: auto;
    border: 2px solid #f0f0f0;
    width: 100%;
    border-radius: 100px;
    color: #000;
    transition:none;
}
#loginTabs > li{
    width: 50%;
}
.login-right form label{
    font-size: 14px;
}
.login-right form > p{

}
.login .login-right .login-right__forms{
    gap: 15px;
}
.login .login-right .login-right__forms .login-right__forms-group{
    gap: 0;
}
#loginTabs{
    border:0px solid;
    display: flex;
    background: #f0f0f0;
    border-radius: 100px;
}
.login-button:hover{
    background: #1e5dbc;
    color: #fff;
    border-width: 1px;
}
.login-button{
    border-width: 1px;
    background: #0f2f64;
    border-radius: 100px;
    font-weight: 400;
    font-size: 14px;
    margin-top: 10px;
    padding: 12px 30px;
}
.login .login-right .login-right__text-group .login-right__title{
    font-size: 20px;
    margin-bottom: 5px;
}
.login .errorlist{
    font-size: 14px;
}
.login .login-right .login-right__text-group .login-right__desc{
    font-size: 16px;
}
.navbar__links__link .badge{
    font-size: 10px;
    position: relative;
    top: -5px;
    right: 7px;
    height: 19px;
    min-width: 19px;
}
.send-support-message{
    white-space: nowrap;
    display: block;
    width: auto;
    max-width: inherit;
    margin: 30px auto 0;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    border: 0px solid #ccc;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}


.wallet-container {
    position: relative;
    display: inline-block;
}

.wallet-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.wallet-container:hover .wallet-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.buyer-rating-headline .star-icon{
    width: 20px;
    height: 20px;
    fill: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}
.buyer-rating-headline .rating-info{
    position: relative;
    top:-5px;
}
.buyer-rating-headline{
    font-size: 14px;
}
.tooltip-header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.tooltip-header-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #1e5dbc;
}

.tooltip-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.token-item:last-child {
    border-bottom: none;
}

.token-info {
    display: flex;
    align-items: center;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.token-icon-discount {
    background: linear-gradient(135deg, #1e5dbc, #0f2f64);
}

.token-icon-gift {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.token-icon-svg {
    width: 16px;
    height: 16px;
    color: white;
}

.token-details {
    display: flex;
    flex-direction: column;
}

.token-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.token-description {
    font-size: 12px;
    color: #666;
}
.wallet-total .token-sign{
    font-size: 28px;
    top:-3px;
    margin-left: 5px;
}
#genericModalContent .token-sign{
    font-size: 14px;
    font-weight: bold;
    top:-0.5px;
}
.token-amount-old {
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    float: left;
}
.token-amount {
    font-size: 18px;
    font-weight: 600;
    color: #0f2f64;
}

.token-amount-discount {
    color: #1e5dbc;
}

.token-amount-gift {
    color: #28a745;
}

.tooltip-footer {
    padding-top: 16px;
    text-align: center;
}

.tooltip-btn {
    display: inline-block;
    background: #1e5dbc;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.tooltip-btn:hover {
    background: #0f2f64;
    color: white;
}

/** ============ Account Dropdown ================**/
.myaccount-name{
    display: table;
    width: 100%;
    padding: 0 15px;
}
.myaccount-name span:first-child{
    font-size: 12px;
}
.myaccount-name span.name{
    font-size: 14px;
    font-weight: 500;
}
.payment-buttons-wrapper button{
    font-size: 14px;
    font-weight: 600;
}

/* Main content area styling */
.main-content {
    min-height: calc(100vh - 390px);
    padding: 3rem 0;
}

@media (max-width: 991.98px) {
    .main-content {
        min-height: calc(100vh - 7.375rem - 400px);
        padding: 2rem 0;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        min-height: calc(100vh - 7rem - 400px);
        padding: 1.5rem 0;
    }
}

/* Page header styling */
.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #0f2f64;
}

@media (max-width: 575.98px) {
    .page-title {
        font-size: 2.25rem;
    }
}

.page-subtitle {
    font-size: 1.25rem;
    color: #68718b;
    margin-top: 0.5rem;
}

@media (max-width: 575.98px) {
    .page-subtitle {
        font-size: 1.125rem;
    }
}

/* News module styles */
.news-list {
    margin-top: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-item__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image img {
    transform: scale(1.05);
}

.news-item__content {
    padding: 1.5rem;
}

.news-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-item__title a {
    color: #0f2f64;
    text-decoration: none;
}

.news-item__title a:hover {
    color: #1e5dbc;
}

.news-item__excerpt {
    color: #68718b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-item__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #68718b;
}

.news-empty {
    text-align: center;
    padding: 3rem;
    color: #68718b;
}

/* News detail page */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail__header {
    margin-bottom: 2rem;
}

.news-detail__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0f2f64;
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .news-detail__title {
        font-size: 1.75rem;
    }
}

.news-detail__meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #68718b;
}

.news-detail__image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail__image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail__content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.news-detail__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* News sidebar */
.news-sidebar {
    margin-top: 3rem;
    padding: 2rem;
    background: #f5f9fe;
    border-radius: 8px;
}

.news-sidebar__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f2f64;
    margin-bottom: 1.5rem;
}

.news-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-sidebar__item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-sidebar__item:last-child {
    border-bottom: none;
}

.news-sidebar__link {
    display: flex;
    gap: 1rem;
    color: #0f2f64;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-sidebar__link:hover {
    color: #1e5dbc;
}

.news-sidebar__image {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

.news-sidebar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-sidebar__link:hover .news-sidebar__image img {
    transform: scale(1.05);
}

.news-sidebar__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-sidebar__link-text {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-sidebar__date {
    display: block;
    font-size: 0.875rem;
    color: #68718b;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination__link {
    padding: 0.5rem 1rem;
    background: #1e5dbc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.pagination__link:hover {
    background: #0f2f64;
    color: #fff;
}

.pagination__link--arrow {
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    line-height: 1;
    background: #f0f4f8;
    color: #0f2f64;
}

.pagination__pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.pagination__page--link {
    background: #f0f4f8;
    color: #0f2f64;
}

.pagination__page--link:hover {
    background: #1e5dbc;
    color: #fff;
}

.pagination__page--current {
    background: #1e5dbc;
    color: #fff;
    cursor: default;
}

.pagination__ellipsis {
    padding: 0 0.25rem;
    color: #68718b;
    user-select: none;
}

.pagination__current {
    color: #68718b;
    font-weight: 500;
}
.footer .footer-main .footer-box .footer-box__images span{
    font-size: 20px;
}
.footer .footer-main .footer-box .footer-box__images{
    flex-direction: column;
    align-items: baseline;
}
.footer .footer-main .footer-box .footer-box__images img{
    max-width: 100%;
}
.footer .footer-main .footer__box--links{
    max-width: 100%;
}
.footer .footer-main{
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer .footer-main .footer__box--links .links-box .links-list--box{
    gap:3rem;
}
.footer .footer-main{
    min-height: 13rem;
}
.navbar .navbar__links .navbar__links__link{
    font-size: 0.95rem;
}
footer .text-body-regular{
    font-size: 0.95rem;
}
.login-register-button{
    font-size: 0.95rem;
}
@media (max-width: 991.98px){
    .navbar .navbar__links .navbar__links__dropdown .navbar__links__link{
        margin-top: 0!important;
    }
}

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}
.error-page__inner {
  max-width: 28rem;
}
.error-page__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: #1e5dbc;
  opacity: 0.2;
  margin-bottom: 0.5rem;
}
.error-page__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0f2f64;
}
.error-page__text {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.error-page__cta {
  display: inline-block;
  text-decoration: none;
}
