﻿@font-face {
    font-family: 'Proxima Nova';
    src: url('../../fonts/proximanova/proximanova-regular-webfont.woff2') format('woff2'), url('../../fonts/proximanova/proximanova-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../../fonts/proximanova/proximanova-medium-webfont.woff2') format('woff2'), url('../../fonts/proximanova/proximanova-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../../fonts/proximanova/proximanova-semibold-webfont.woff2') format('woff2'), url('../../fonts/proximanova/proximanova-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../../fonts/proximanova/proximanova-bold-webfont.woff2') format('woff2'), url('../../fonts/proximanova/proximanova-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-primary: #4f8df6;
    --brand-primary-dark: #3478ee;
    --brand-muted: #8a94a6;
    --brand-soft: #eef3ff;
    --brand-border: #dfe6f5;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Proxima Nova', Arial, sans-serif;
    background: #f4f7fb;
    color: #1c2233;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    background: #f4f7fb;
}

.login-left {
    width: 50%;
    background: #ffffff;
    padding: 40px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 520px;
}

.login-middle {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.brand-logo {
    width: 200px;
    height: 86px;
    object-fit: contain;
}

.brand-text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.4px;
    color: #e13f3f;
}

.brand-company {
    font-size: 13px;
    color: #4a5568;
    margin-top: 2px;
}

.brand-url {
    font-size: 12px;
    color: var(--brand-muted);
}

.brand-hotline {
    font-size: 12px;
    color: var(--brand-muted);
}

.login-card {
    max-width: 420px;
    width: 100%;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-control {
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    height: 48px;
    font-size: 15px;
}

    .form-control:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 0.2rem rgba(79, 141, 246, 0.15);
    }

.form-group {
    margin-bottom: 16px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    color: var(--brand-muted);
}

    .password-toggle:focus {
        box-shadow: none;
    }

.btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--brand-primary-dark);
        border-color: var(--brand-primary-dark);
    }

.btn-outline-primary {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background: rgba(79, 141, 246, 0.1);
        color: var(--brand-primary-dark);
    }

.login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

    .login-actions .forgot-link {
        margin-left: auto;
        font-size: 14px;
    }

.footer-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-muted);
    font-size: 13px;
    width: 100%;
    max-width: 420px;
}

    .footer-note img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
    }

.login-right {
    width: 50%;
    background: linear-gradient(180deg, #cfe7ff 0%, #eef6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-swiper {
    width: 100%;
    height: 100%;
}

    .login-swiper .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-swiper img {
        max-width: 90%;
        max-height: 85%;
        object-fit: contain;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    }

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff6f6;
  color: #c93939;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
  font-weight: 600;
}

.app-shell {
  min-height: 100vh;
  background: #f5f6f8;
}

.app-topbar {
  background: #0075bd;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
}

.app-topbar-left,
.app-topbar-center,
.app-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-topbar-center {
  flex: 1;
  justify-content: center;
}

.app-topbar-right {
  margin-left: auto;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}

.app-logo img {
  width: 120px;
  height: 36px;
  object-fit: contain;
}

.app-top-actions,
.app-top-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: transparent;
  border: 0;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.icon-btn.has-badge {
  position: relative;
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 999px;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  max-width: 520px;
  width: 100%;
}

.app-search i {
  color: #8a94a6;
}

.app-search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 13px;
  background: transparent;
}

.app-user {
  font-size: 13px;
  color: #ffffff;
}

.app-user-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
}

.app-user-toggle:hover {
  color: #ffffff;
  text-decoration: none;
}

.dropdown-menu {
  border-radius: 10px;
  border: 1px solid #e7ebf3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  font-size: 13px;
}

.dropdown-item i {
  width: 18px;
  margin-right: 8px;
  color: #4f8df6;
}

.dropdown-item.text-danger i {
  color: #ff3b30;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.tag-country {
  background: #eef3ff;
  color: #3564c7;
  border: 1px solid #d7e3ff;
  margin: 2px 4px 2px 0;
}

.group-row td {
  background: #f7f9fc;
  color: #2f343b;
  font-weight: 600;
  border-top: 2px solid #e2e7f1;
}

.price-new {
  font-weight: 700;
  color: #f53d2d;
}

.price-old {
  color: #9aa0ad;
  text-decoration: line-through;
  font-size: 12px;
}

#priceModal .price-new {
  color: #f53d2d;
}

#priceModal .price-old {
  display: block;
}

.table-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.table-wrap {
  overflow-x: hidden;
}

.summary-row td {
  background: #f9fbff;
  font-weight: 700;
  border-top: 2px solid #e2e7f1;
}

.app-user-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.app-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-user-name {
  font-weight: 600;
  font-size: 13px;
}

.app-user-company {
  font-size: 11px;
  color: #bfc3c7;
}

.app-user-company:empty {
  display: none;
}

.app-menu {
  background: #ffffff;
  border-bottom: 1px solid #eceff3;
  padding: 8px 20px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  color: #2f343b;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-item > a i {
  font-size: 14px;
  color: #4f8df6;
}

.menu-item > a:hover,
.menu-item.active > a {
  background: #f1f5ff;
  color: #4f8df6;
  text-decoration: none;
}

.menu-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  list-style: none;
  margin: 10px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 20;
}

.menu-item:hover .menu-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-sub a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #2f343b;
  text-decoration: none;
}

.menu-sub a:hover {
  background: #f5f7fb;
  color: #4f8df6;
  text-decoration: none;
}

.app-content {
  padding: 16px 20px 32px;
}

.app-footer {
  padding: 12px 20px 20px;
  color: #7b8190;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 991px) {
  .app-topbar {
    flex-wrap: wrap;
  }

  .app-topbar-left,
  .app-topbar-center,
  .app-topbar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .app-logo {
    min-width: auto;
  }

  .app-search {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .app-menu {
    flex-wrap: wrap;
  }

  .menu-list {
    flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
    .login-shell {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-left {
        padding: 32px 28px 40px;
    }

    .login-middle {
        justify-content: center;
    }

    .login-right {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .login-title {
        font-size: 26px;
    }

    .login-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .login-actions .forgot-link {
            text-align: right;
            width: 100%;
            margin-left: 0;
        }
}
.price-link {
  color: #f53d2d;
}

.price-link:hover {
  color: #d92f24;
  text-decoration: none;
}

.price-link .price-old {
  color: #9aa0ad;
}
