/* Public layout scoped styles */

/* components/account/OrderDetailModal.vue */
#order-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
#order-detail-modal.active {
  display: flex;
}
#order-detail-modal .modal-container {
  background: white;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
#order-detail-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}
#order-detail-modal .modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
#order-detail-modal .modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
#order-detail-modal .modal-close:hover {
  color: #000;
}
#order-detail-modal .modal-body {
  padding: 20px;
}
#order-detail-modal .order-pay-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
#order-detail-modal .pay-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {to { transform: rotate(360deg); }

}

/* components/common/ActivityPreviewSection.vue */
#landing-preview .landing-preview-loading, #landing-preview .landing-preview-error, #landing-preview .landing-preview-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* components/common/landing-pagination.vue */
.landing-pagination.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.landing-pagination .pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}
.landing-pagination .pagination-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #094887;
}
.landing-pagination .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.landing-pagination .pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.landing-pagination .pagination-number:hover {
    background: #f5f5f5;
    border-color: #094887;
}
.landing-pagination .pagination-number.active {
    background: #094887;
    border-color: #094887;
    color: #fff;
}

/* components/common/LanguageSwitcher.vue */
.language-switcher {
  position: relative;
  margin-top: 20px;
  max-width: 250px;
}
.language-switcher .lang-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.language-switcher .lang-globe {
  flex-shrink: 0;
  font-size: 14px;
  opacity: 0.85;
}
.language-switcher .lang-toggle:hover, .language-switcher.open .lang-toggle {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.language-switcher .lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.language-switcher .lang-current-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.language-switcher .lang-current-code {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.language-switcher .lang-chevron {
  flex-shrink: 0;
  font-size: 11px;
  opacity: 0.8;
  transition: transform 0.2s;
}
.language-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.language-switcher .lang-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  top: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1002;
}
.language-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-switcher .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--text-color, #2d3436);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.language-switcher .lang-option:hover, .language-switcher .lang-option.active {
  background: var(--primary-light, #ecedf9);
  color: var(--primary-color-text, #444db0);
}
.language-switcher .lang-option-flag {
  flex-shrink: 0;
  text-align: center;
  font-size: 15px;
}
.language-switcher .lang-option-name {
  flex: 1;
  font-weight: 500;
}
.language-switcher .lang-check {
  font-size: 12px;
  color: var(--primary-color-text, #444db0);
}
@media (max-width: 767px) {.language-switcher {
    max-width: none;
  }

}

/* components/common/NewsSection.vue */
#news-section .loading-state, #news-section .error-state, #news-section .no-data-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}
#news-section .error-state {
    color: #d32f2f;
}

/* components/common/no-data.vue */
.no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 300px;
}
.no-data .nodata-image {
  margin-bottom: 20px;
}
.no-data .nodata-image img {
  max-width: 200px;
  height: auto;
}

/* components/common/productliderSection.vue */
#product-slider-section .loading-state, #product-slider-section .error-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}
#product-slider-section .error-state {
    color: #d32f2f;
}

/* components/common/SafetySkillsSection.vue */
#ky-nang .loading-state, #ky-nang .error-state, #ky-nang .no-data-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}
#ky-nang .error-state {
    color: #d32f2f;
}

/* components/common/VideoModal.vue */
.video-modal .video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}
.video-modal .video-modal-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    outline: none;
}
.video-modal .video-modal-content {
    padding: 30px;
    position: relative;
}
.video-modal .video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 20px;
}
.video-modal .video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}
.video-modal .video-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.video-modal .video-modal-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-bottom: 20px;
}
.video-modal .video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal .video-modal-description {
    color: #666;
    line-height: 1.6;
}
.video-modal .video-modal-description p {
    margin: 0;
}
.video-modal .modal-enter-active, .video-modal .modal-leave-active {
    transition: opacity 0.3s ease;
}
.video-modal .modal-enter-active .video-modal-container, .video-modal .modal-leave-active .video-modal-container {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.video-modal .modal-enter-from, .video-modal .modal-leave-to {
    opacity: 0;
}
.video-modal .modal-enter-from .video-modal-container, .video-modal .modal-leave-to .video-modal-container {
    transform: scale(0.9);
    opacity: 0;
}
@media (max-width: 768px) {.video-modal .video-modal-container {
        max-width: 95vw;
        margin: 10px;
    }
.video-modal .video-modal-content {
        padding: 20px;
    }
.video-modal .video-modal-title {
        font-size: 20px;
    }
.video-modal .video-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

}

/* pages/[[locale]]/account/forgot-password.vue */
.bg-header-hero .mt-4 {
  margin-top: 16px;
}
.bg-header-hero .forgot-password-page {
    max-width: 440px;
}
.bg-header-hero .forgot-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.bg-header-hero .forgot-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.45;
    transition: opacity 0.2s;
}
.bg-header-hero .forgot-step.active {
    opacity: 1;
}
.bg-header-hero .forgot-step.done .forgot-step-num {
    background: linear-gradient(135deg, #198754, #157347);
    color: #fff;
}
.bg-header-hero .forgot-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}
.bg-header-hero .forgot-step.active .forgot-step-num {
    background: linear-gradient(135deg, var(--bs-primary, #0d6efd), #0a58ca);
    color: #fff;
}
.bg-header-hero .forgot-step-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    max-width: 4.5rem;
    text-align: center;
    line-height: 1.2;
}
.bg-header-hero .forgot-step-line {
    width: 1.5rem;
    height: 2px;
    background: #dee2e6;
    margin: 0 0.15rem;
    margin-bottom: 1.25rem;
    align-self: center;
}
.bg-header-hero .forgot-step-line.active {
    background: linear-gradient(90deg, var(--bs-primary, #0d6efd), #6ea8fe);
}
.bg-header-hero .forgot-email-hint {
    text-align: center;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.85rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
}
.bg-header-hero .forgot-otp-input {
    letter-spacing: 0.2em;
    font-weight: 600;
    font-size: 1.1rem;
}
.bg-header-hero .forgot-step-actions {
    margin-top: 1rem;
}
.bg-header-hero .btn-link:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* pages/[[locale]]/cho-an-toan/index.vue */
.bg-header-hero .loading-state, .bg-header-hero .error-state, .bg-header-hero .no-data-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}
.bg-header-hero .error-state {
    color: #d32f2f;
}

/* pages/[[locale]]/dieu-khoan-dich-vu.vue */
.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
}
.legal-page .legal-content {
  background: #fff;
  padding: 32px 40px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 50, 147, 0.1);
}
.legal-page .legal-content .intro {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 28px;
}
.legal-page .legal-section {
  margin-bottom: 28px;
}
.legal-page .legal-section:last-child {
  margin-bottom: 0;
}
.legal-page .legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #084f81;
  margin: 0 0 12px;
}
.legal-page .legal-section p, .legal-page .legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 8px;
}
.legal-page .legal-section ul {
  margin: 8px 0 0;
  padding-left: 24px;
}
.legal-page .legal-section li {
  margin-bottom: 6px;
}
.legal-page .legal-content a {
  color: #084f81;
  text-decoration: none;
}
.legal-page .legal-content a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {.legal-page .legal-content {
    padding: 24px 20px;
  }
.legal-page .legal-section h2 {
    font-size: 16px;
  }
.legal-page .legal-section p, .legal-page .legal-section li {
    font-size: 14px;
  }

}

/* pages/[[locale]]/hinh-anh-video.vue */
.bg-header-hero .album-card-clickable {
  cursor: pointer;
}

/* pages/[[locale]]/policy.vue */
.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
}
.legal-page .legal-content {
  background: #fff;
  padding: 32px 40px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 50, 147, 0.1);
}
.legal-page .legal-content .intro {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 28px;
}
.legal-page .legal-section {
  margin-bottom: 28px;
}
.legal-page .legal-section:last-child {
  margin-bottom: 0;
}
.legal-page .legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #084f81;
  margin: 0 0 12px;
}
.legal-page .legal-content a {
  color: #084f81;
  text-decoration: none;
}
.legal-page .legal-content a:hover {
  text-decoration: underline;
}
.legal-page .cms-body :deep() {.legal-page p, .legal-page div, .legal-page li {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 8px;
  }
.legal-page ul {
    margin: 8px 0 0;
    padding-left: 24px;
    list-style-type: disc !important; 
  }
.legal-page li {
    margin-bottom: 6px;
  }

}
@media (max-width: 767px) {.legal-page .legal-content {
    padding: 24px 20px;
  }
.legal-page .legal-section h2 {
    font-size: 16px;
  }
.legal-page .cms-body p, .legal-page .cms-body li {
    font-size: 14px;
  }

}

/* pages/[[locale]]/tin-tuc/index.vue */
.bg-header-hero .loading-state, .bg-header-hero .error-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}
.bg-header-hero .error-state {
    color: #d32f2f;
}

/* pages/[[locale]]/tin-tuc/tag/[tag].vue */
.bg-header-hero .loading-state, .bg-header-hero .error-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}
.bg-header-hero .error-state {
    color: #d32f2f;
}

/* pages/[[locale]]/tin-tuc/[url]-[id].vue */
.bg-header-hero .loading-state, .bg-header-hero .error-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}
.bg-header-hero .error-state {
    color: #d32f2f;
}

/* pages/[[locale]]/ve-chung-toi.vue */
.about-page .container {
  max-width: 900px;
  margin: 0 auto;
}
.about-page .page-header {
  padding: 48px 0 18px;
}
.about-page .page-header h1 {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #084f81;
}
.about-page .page-header .sub {
  margin: 0;
  color: #64748b;
}
.about-page .about-gallery {
  padding: 18px 0 64px;
}
.about-page .stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-page .item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.about-page .item img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {.about-page .page-header {
    padding: 36px 0 14px;
  }
.about-page .page-header h1 {
    font-size: 26px;
  }
.about-page .stack {
    gap: 12px;
  }
.about-page .item {
    border-radius: 12px;
  }

}

/* pages/[[locale]]/ve-hra/[slug].vue */
.hra-page-updating {
  padding: 80px 0;
  min-height: 450px;
  text-align: center;
}
.hra-page-updating .hra-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hra-page-updating .hra-desc {
  font-size: 1rem;
  color: #555;
}
.m-0 {
  margin: 0!important;
}

.verification-code-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.verification-code-panel__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.verification-code-panel__title-row,
.two-factor-header__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  color: var(--text-color, #1f2937);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.verification-code-panel__icon,
.two-factor-header__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  padding: 11px;
  border: 2px solid var(--primary-color-text, #444db0);
  border-radius: 50%;
  color: var(--primary-color-text, #444db0);
  font-size: 15px;
}

.verification-code-panel__title {
  margin: 0;
  color: var(--text-color, #1f2937);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.verification-code-panel__hint,
.two-factor-header__hint {
  margin: 8px 0 0;
  color: var(--text-muted, #6b7280);
  font-size: 14px;
  line-height: 1.45;
}

.verification-code-panel__otp {
  display: flex;
  justify-content: center;
}

.verification-code-panel__otp :deep(.otp-input-row) {
  justify-content: center;
}

.verification-code-panel__recovery {
  margin-bottom: 0;
}

.verification-code-panel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0;
}

.verification-code-panel__nav-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.verification-code-panel__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.verification-code-panel__nav-btn--back,
.verification-code-panel__nav-btn--resend {
  color: var(--primary-color-text, #444db0);
}

.verification-code-panel__nav-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.verification-code-panel__countdown {
  color: #6b7280;
  font-size: 13px;
}

.verification-code-panel__submit {
  margin-top: 20px;
  margin-bottom: 14px;
}
.verification-flow-overlay .modal-title{
  font-size: 16px;
}
.swal2-actions{
  gap: 15px;
}
.swal2-actions button{
  min-width: 100px;
}
.swal2-popup.swal2-modal{
  border-radius: 15px;
  padding: 0 0 1.5em;
}
#swal2-title{
  font-size: 1.5em;
}
#swal2-html-container{
  font-size: 1em;
}
.n-message-container{
  z-index: 99999;
}
.n-base-selection .n-base-selection-label .n-base-selection-input{
  position: absolute;
  left: 0;
}