/*
 * Platzona — Main Custom Styles
 * BEM Methodology: Block__Element--Modifier
 * All legacy class names are kept as aliases for backward compatibility.
 * New BEM class names are the canonical names going forward.
 * Last updated: 2026-04-06
 */

/* ============================================================
   BLOCK: page-loader  (legacy alias: #loadingclass)
   ============================================================ */
.page-loader,
#loadingclass {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    background-color: rgba(238, 238, 238, 0.85);
    display: none;
    top: 0;
    left: 0;
}

.page-loader__spinner,
#loadingclass > img {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    position: fixed;
    z-index: 99999999;
    margin: -40px 0 0 -40px;
}

/* ============================================================
   BLOCK: dashboard-widget  (legacy alias: .dashboardc)
   ============================================================ */
.dashboard-widget,
.dashboardc {
    width: 284px;
    padding: 10px 10px 20px 10px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 6px 6px;
}

/* ============================================================
   BLOCK: profile-pic  (legacy alias: .pi-pic)
   ============================================================ */
.profile-pic__image,
.pi-pic img {
    width: 200px;
}

/* ============================================================
   BLOCK: dashboard  (legacy aliases: .dashboard_breadcrumb)
   ============================================================ */
.dashboard__breadcrumb,
.dashboard_breadcrumb {
    /* reserved for breadcrumb overrides */
}

/* ============================================================
   BLOCK: form-field  (legacy alias: .form-field-error)
   ============================================================ */
.form-field__error,
.form-field-error {
    color: #e53935;
    font-size: 0.85em;
    margin-top: 4px;
    display: block;
}

/* ============================================================
   BLOCK: error-page
   ============================================================ */
.error-page {
    align-items: center;
    background-color: rgba(255, 155, 68, 0.12);
    color: #1f1f1f;
    display: flex;
    height: 100%;
    position: absolute;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
}

/* ============================================================
   BLOCK: list-view  (legacy aliases: .listview, .listviewimg)
   ============================================================ */
.list-view__link,
.listview a {
    cursor: pointer;
}

.list-view__img,
.listviewimg {
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================================
   BLOCK: data-table  (legacy aliases: .visibletbl, .invisibletbl)
   ============================================================ */
.data-table--visible,
.visibletbl {
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
    visibility: visible;
    display: block;
    background-color: #f5f5f5;
    z-index: 99999;
    position: absolute;
}

.data-table--hidden,
.invisibletbl {
    display: none;
}

/* ============================================================
   BLOCK: page-nav  (legacy alias: .pagination)
   ============================================================ */
.page-nav,
.pagination {
    float: right;
}

/* ============================================================
   GLOBAL: links
   ============================================================ */
a {
    cursor: pointer;
}

/* ============================================================
   BLOCK: section  (legacy alias: .ourheading)
   ============================================================ */
.section__heading,
.ourheading {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #333;
}

/* ============================================================
   BLOCK: card  (legacy alias: .box-white)
   ============================================================ */
.card--white,
.box-white {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   BLOCK: auth-wrapper  (legacy alias: .wrapper)
   Used on login / register pages
   ============================================================ */
.auth-wrapper,
.wrapper {
    background: #50a3a2;
    background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

/* ============================================================
   ANIMATION: float-square  (legacy alias: @keyframes square)
   ============================================================ */
@-webkit-keyframes float-square {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-700px) rotate(600deg); }
}
@keyframes float-square {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-700px) rotate(600deg); }
}
/* Keep legacy keyframe name for existing JS references */
@-webkit-keyframes square {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-700px) rotate(600deg); }
}
@keyframes square {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-700px) rotate(600deg); }
}

/* ============================================================
   BLOCK: product-list  (legacy alias: .product-img-list)
   ============================================================ */
.product-list__image,
.product-img-list {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* ============================================================
   BLOCK: cart-page  (shopping cart view)
   ============================================================ */
.cart-table__head th {
    background: #f7f9fc;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    font-weight: 600;
    padding: 10px 12px;
}

.cart-qty-input {
    width: 70px;
    text-align: center;
    border: 1px solid #dce0e6;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.95rem;
}

.cart-qty-input:focus {
    outline: none;
    border-color: #0f66e8;
    box-shadow: 0 0 0 3px rgba(15, 102, 232, 0.12);
}

/* Remove browser spin buttons on number inputs in cart */
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button {
    opacity: 1;
}

/* ============================================================
   BLOCK: sidebar-nav  (legacy alias: .nav-side-menu)
   ============================================================ */
.sidebar-nav,
.nav-side-menu {
    overflow: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 13px;
    font-weight: 400;
    background-color: #1e2532;
    top: 0;
    width: 100%;
    height: auto;
}

.sidebar-nav__brand,
.nav-side-menu .brand {
    background-color: #161c27;
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-nav__toggle,
.nav-side-menu .toggle-btn {
    display: none;
}

.sidebar-nav__list,
.sidebar-nav__item,
.nav-side-menu ul,
.nav-side-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 36px;
    cursor: pointer;
}

/* Arrow icons for collapsible items */
.sidebar-nav__item :not(.collapsed) .arrow:before,
.nav-side-menu ul :not(collapsed) .arrow:before,
.sidebar-nav__list :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
    font-family: FontAwesome;
    content: "\f078";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: right;
}

/* Sub-menu active item */
#menu-content .sub-menu .active,
#menu-content .sub-menu li .active {
    border-left: 3px solid #f39c12;
    background-color: #2c3547 !important;
}

.sidebar-nav__item--active,
.nav-side-menu ul .active,
.nav-side-menu li .active {
    border-left: 3px solid #f39c12;
    background-color: #2c3547;
}

.sidebar-nav__subitem--active,
.nav-side-menu ul .sub-menu li.active,
.nav-side-menu li .sub-menu li.active {
    color: #f39c12;
}

.nav-side-menu ul .sub-menu li.active a,
.nav-side-menu li .sub-menu li.active a {
    color: #f39c12;
}

/* Sub-menu items */
.sidebar-nav__subitem,
.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
    background-color: #12161f;
    border: none;
    line-height: 30px;
    border-bottom: 1px solid #1e2532;
    margin-left: 0;
}

.nav-side-menu ul .sub-menu li:hover,
.nav-side-menu li .sub-menu li:hover {
    background-color: #090b0f;
}

.nav-side-menu ul .sub-menu li:before,
.nav-side-menu li .sub-menu li:before {
    font-family: FontAwesome;
    content: "\f105";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
}

/* Top-level nav items */
.sidebar-nav__item,
.nav-side-menu li {
    padding-left: 0;
    border-left: 3px solid #1e2532;
    border-bottom: 1px solid #161c27;
}

.sidebar-nav__link,
.nav-side-menu li a {
    text-decoration: none;
    color: #c8d6e5;
    transition: color 0.2s ease;
}

.sidebar-nav__icon,
.nav-side-menu li a i {
    padding-left: 12px;
    width: 22px;
    padding-right: 16px;
    opacity: 0.8;
}

.nav-side-menu li:hover {
    border-left: 3px solid #f39c12;
    background-color: #2c3547;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

/* ============================================================
   BLOCK: navbar  (megamenu extensions)
   ============================================================ */
.navbar__megamenu,
.navbar .megamenu {
    padding: 1rem;
}

/* ============================================================
   RESPONSIVE: mobile sidebar
   ============================================================ */
@media (max-width: 767px) {
    .sidebar-nav,
    .nav-side-menu {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }

    .sidebar-nav__toggle,
    .nav-side-menu .toggle-btn {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 10 !important;
        padding: 4px 8px;
        background-color: #ffffff;
        color: #333;
        width: 40px;
        text-align: center;
        border-radius: 4px;
    }

    .brand {
        text-align: left !important;
        font-size: 20px;
        padding-left: 20px;
        line-height: 50px !important;
    }
}

@media (min-width: 768px) {
    .sidebar-nav .menu-list .menu-content,
    .nav-side-menu .menu-list .menu-content {
        display: block;
    }
}

/* ============================================================
   RESPONSIVE: desktop megamenu
   ============================================================ */
@media all and (min-width: 992px) {
    .navbar__item--has-megamenu,
    .navbar .has-megamenu {
        position: static !important;
    }
    .navbar__megamenu,
    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}

/* ============================================================
   BLOCK: nav  (legacy alias: .nav-item)
   ============================================================ */
.nav__item,
.nav-item {
    padding: 8px 12px;
}

.dropdown__item,
.dropdown-menu ul li {
    width: 100%;
}

.dropdown__link,
.dropdown-menu ul li a {
    border-right: 0 !important;
    color: #333 !important;
    text-decoration: none;
    display: block;
    padding: 6px 12px;
    transition: background 0.15s ease;
}

.dropdown__link:hover,
.dropdown-menu ul li a:hover {
    background-color: #f5f7fa;
    color: #0f66e8 !important;
}

/* ============================================================
   BLOCK: user-dashboard  (Task 2 — user frontend dashboard)
   ============================================================ */
.user-dashboard {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.user-dashboard__alerts {
    margin-bottom: 1.5rem;
}

.user-dashboard__section {
    margin-bottom: 2rem;
}

.user-dashboard__section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.user-dashboard__divider {
    border: none;
    border-top: 2px solid #e8ecf0;
    margin: 0.5rem 0 1.5rem;
}

.user-dashboard__fields {
    display: grid;
    gap: 1rem;
}

.user-dashboard__form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem;
}

.user-dashboard__actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8ecf0;
}

.user-dashboard__submit {
    min-width: 160px;
}

/* BLOCK: user-profile — individual field */
.user-profile__field {
    margin-bottom: 0;
}

.user-profile__label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 4px;
    display: block;
}

.user-profile__required {
    color: #e53935;
    margin-left: 2px;
}

.user-profile__value {
    display: block;
    padding: 8px 12px;
    background: #f7f8fa;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #444;
}

.user-profile__input {
    border-radius: 6px !important;
    border: 1px solid #dce0e6 !important;
    padding: 8px 12px !important;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-profile__input:focus {
    border-color: #0f66e8 !important;
    box-shadow: 0 0 0 3px rgba(15, 102, 232, 0.12) !important;
    outline: none;
}

/* BLOCK: user-orders */
.user-orders {
    overflow: hidden;
}

.user-orders__table-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.user-orders__table {
    margin-bottom: 0;
}

.user-orders__thead th {
    background: #f0f4f8;
    color: #555;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 14px;
    border-bottom: 2px solid #dce0e6;
}

.user-orders__row:hover {
    background-color: #f7fafd;
}

.user-orders__status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e8f5e9;
    color: #2e7d32;
}

.user-orders__view-link {
    color: #0f66e8;
    transition: color 0.2s ease;
}

.user-orders__view-link:hover {
    color: #0a4aad;
}

.user-orders__pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .user-dashboard {
        padding: 1rem 0.5rem;
    }
    .user-dashboard__form {
        padding: 1.25rem;
    }
}


/* ============================================================
   BLOCK: contact-captcha  (contact page captcha widget)
   ============================================================ */
.contact-captcha-row {
    margin-top: 20px;
}

.contact-captcha-display {
    display: inline-block;
    width: 160px;
    height: 45px;
}

.contact-captcha-refresh {
    width: 160px;
    height: 45px;
}

/* ============================================================
   BLOCK: checkout-status  (thanks/order-success page)
   ============================================================ */
.checkout-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.checkout-status-icon--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.checkout-status-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.checkout-status-title--success {
    color: #2e7d32;
}

/* ============================================================
   BLOCK: contact-map  (contact page embedded map)
   ============================================================ */
.contact-map {
    width: 100%;
    margin-top: 2rem;
}

.contact-map iframe {
    width: 100%;
    min-height: 350px;
    border: none;
    border-radius: 8px;
    display: block;
}

/* ============================================================
   BLOCK: saf_footer_info — contact info sections (full width)
   ============================================================ */
.saf_footer_info {
    width: 100%;
}

/* ============================================================
   BLOCK: contact-form — captcha row and elements
   ============================================================ */
.contact-form__captcha-row {
    margin-top: 20px;
}

.contact-form__captcha-img {
    display: inline-block;
    width: 160px;
    height: 45px;
    vertical-align: middle;
}

.contact-form__captcha-btn {
    width: 160px;
    height: 45px;
}

/* ============================================================
   BLOCK: blog-sidebar — sidebar panel on blog pages
   ============================================================ */
.blog-sidebar__panel {
    background-color: #fff;
}

.blog-sidebar__bar-icon {
    width: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============================================================
   BLOCK: event-card — events listing card elements
   ============================================================ */
.saf_blog_thumb {
    float: left;
    width: 100%;
}

.event-card__meta {
    float: left;
    width: 100%;
    padding: 10px;
}

.event-card__price {
    float: left;
}

.event-card__price--paid {
    font-size: 33px;
    color: red;
    border-radius: 50%;
    border: 2px solid red;
    padding: 10px;
}

.event-card__reg-status {
    float: right;
}

.event-card__title-link {
    display: block;
    float: left;
    width: 100%;
    padding: 10px;
}

.event-card__excerpt {
    float: left;
    width: 100%;
    height: 100px;
    overflow: auto;
    padding: 10px;
}

.event-card__cta {
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: -22px;
}

.event-card__thumb {
    max-width: 70px;
    height: auto;
    display: block;
}

/* --- user dashboard image previews --- */
.user-img-preview { max-width: 100px; height: auto; }
.user-img-preview--sm { width: 75px; height: auto; }
.user-img-preview--avatar { width: 75px; border-radius: 30%; }
.user-img-preview--offset { width: 100px; margin-top: 25px; }
.user-img-preview--h100 { height: 100px; width: auto; }
.user-form__cb-label { margin-left: 15px; }
.user-form__radio { width: 20px; }
.user-table__col--status { width: 250px; }
.user-receipt__bold { font-weight: bold; }
.user-receipt__signature { text-align: right; margin-top: 20px; }
.user-icon--xl { font-size: 70px; }

/* --- classification page layout --- */
.cls-menu__brand {
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    min-width: 100%;
    width: 100%;
    border-bottom: 1px solid #fff;
}
.cls-menu__item { color: #fff; }
.cls-filter__spacer { margin-top: 10px; }
.cls-card__label {
    background-color: #fff;
    margin: 10px;
    float: left;
    width: 100%;
    text-align: center;
    padding: 4px;
}
.cls-card__link { padding: 10px; display: block; }
.cls-card__title { word-wrap: break-word; overflow-wrap: anywhere; }
.cls-card__img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.cls-detail__title { margin-top: -22px; }

/* --- mega menu / navigation --- */
.megamenu__mega-title { font-size: 22px; text-transform: uppercase; }

/* --- cart page --- */
.cart__remove--bordered { border: 1px solid #eee; }
.cart__continue--styled {
    padding: 12px;
    border: 5px solid #eee;
    border-radius: 11px;
}
.cart__update--styled {
    border: 4px solid #eee;
    border-radius: 10px;
}

/* --- letmenu / bookdata / imagebox --- */
.letmenu__title { padding-top: 0 !important; }
.overflow-hidden { overflow: hidden; }
.booknow__close-btn { font-size: 45px; color: #f00; }
.page__pdf-link { float: right; font-size: 32px; }

/* --- admin receipt for user orderview --- */
.admin-price-strike { color: #f00; }

/* --- event thanks/confirmation page --- */
.event-thanks__title { padding: 10px; margin: 20px; }
