/* ==========================================================
   Manila On-Time Express Manpower Inc.
   Clean Theme CSS
   Palette inspired by the company logo:
   - Deep Navy Blue
   - Royal Blue
   - Sky Blue
   - Gold
   - Warm Cream
   ========================================================== */

:root {
  scroll-behavior: smooth;

  --mot-navy: #08264a;
  --mot-blue: #0b5aa8;
  --mot-royal: #126db6;
  --mot-sky: #27acdf;
  --mot-gold: #efc75e;
  --mot-gold-dark: #b98b2e;
  --mot-cream: #fff8e6;
  --mot-bg: #f4f8fb;
  --mot-surface: #ffffff;
  --mot-surface-soft: #f8fbff;
  --mot-text: #263544;
  --mot-muted: #6b7c8f;
  --mot-border: #dce7f2;
  --mot-shadow: 0 10px 30px rgba(8, 38, 74, 0.10);
  --mot-shadow-soft: 0 6px 20px rgba(8, 38, 74, 0.08);
  --mot-radius: 12px;
  --mot-radius-sm: 8px;
  --mot-transition: all 0.25s ease;
}

/* ==========================================================
   Base
   ========================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(39, 172, 223, 0.16), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #fff8e6 100%);
  color: var(--mot-text);
  font-size: 12px;
  line-height: 1.55;
}

a {
  color: var(--mot-blue);
  text-decoration: none;
  transition: var(--mot-transition);
}

a:hover {
  color: var(--mot-gold-dark);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--mot-navy);
}

.main {
  text-transform: uppercase;
}

/* ==========================================================
   Layout
   ========================================================== */

#top_main {
  margin-top: 60px;
  padding: 8px 30px;
  transition: var(--mot-transition);
}

#main {
  padding: 0 30px;
  transition: var(--mot-transition);
}

@media (max-width: 1199px) {
  #main,
  #top_main {
    padding: 20px;
  }
}

/* ==========================================================
   Page Title
   ========================================================== */

.pagetitle {
  margin-bottom: 12px;
}

.pagetitle h1 {
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--mot-navy);
  letter-spacing: 0.2px;
}

/* ==========================================================
   Back to Top
   ========================================================== */

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: linear-gradient(135deg, var(--mot-blue), var(--mot-sky));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: var(--mot-transition);
  box-shadow: var(--mot-shadow-soft);
}

.back-to-top i {
  font-size: 16px;
  color: #ffffff;
  line-height: 0;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--mot-gold), var(--mot-gold-dark));
  color: #ffffff;
  transform: translateY(-2px);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ==========================================================
   Dropdowns
   ========================================================== */

.dropdown-menu {
  border-radius: var(--mot-radius-sm);
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 1px solid var(--mot-border);
  box-shadow: var(--mot-shadow);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 12px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: var(--mot-navy);
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  color: var(--mot-gold-dark);
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: var(--mot-border);
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 12px;
  padding: 10px 15px;
  transition: var(--mot-transition);
  color: var(--mot-text);
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 14px;
  line-height: 0;
  color: var(--mot-blue);
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--mot-surface-soft);
  color: var(--mot-blue);
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #ffffff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid var(--mot-border);
    border-left: 1px solid var(--mot-border);
  }
}

@keyframes dropdown-animate {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Utility Backgrounds
   ========================================================== */

.bg-primary-light {
  background-color: #dceeff;
  border-color: #dceeff;
}

.bg-secondary-light {
  background-color: #eef2f6;
  border-color: #eef2f6;
}

.bg-success-light {
  background-color: #dff6ea;
  border-color: #dff6ea;
}

.bg-danger-light {
  background-color: #fde2e2;
  border-color: #fde2e2;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #d8f3fb;
  border-color: #d8f3fb;
}

.bg-dark-light {
  background-color: #d9dee4;
  border-color: #d9dee4;
}

/* ==========================================================
   Cards
   ========================================================== */

.card {
  border: 1px solid rgba(220, 231, 242, 0.9);
  border-radius: var(--mot-radius);
  box-shadow: var(--mot-shadow-soft);
  overflow: hidden;
  background: var(--mot-surface);
}

.card-header,
.card-footer {
  border-color: var(--mot-border);
  background: linear-gradient(135deg, #ffffff, var(--mot-surface-soft));
  color: var(--mot-muted);
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--mot-navy);
  font-family: "Montserrat", sans-serif;
}

.card-title span {
  color: var(--mot-gold-dark);
  font-size: 12px;
  font-weight: 500;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================
   Alerts / Close
   ========================================================== */

.alert-heading {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
}

.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* ==========================================================
   Accordion
   ========================================================== */

.accordion-item {
  border: 1px solid var(--mot-border);
  border-radius: var(--mot-radius-sm);
  overflow: hidden;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--mot-navy);
  background: linear-gradient(135deg, rgba(239, 199, 94, 0.16), rgba(39, 172, 223, 0.10));
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: var(--mot-blue);
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: var(--mot-text);
  font-size: 12px;
}

/* ==========================================================
   Breadcrumbs / Tabs
   ========================================================== */

.breadcrumb {
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  color: var(--mot-blue);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--mot-blue);
}

.breadcrumb a:hover {
  color: var(--mot-gold-dark);
}

.breadcrumb .breadcrumb-item::before {
  color: var(--mot-muted);
}

.breadcrumb .active {
  color: var(--mot-muted);
  font-weight: 500;
}

.nav-tabs-bordered {
  border-bottom: 2px solid var(--mot-border);
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: var(--mot-text);
  font-weight: 500;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: var(--mot-blue);
}

.nav-tabs-bordered .nav-link.active {
  background-color: #ffffff;
  color: var(--mot-blue);
  border-bottom: 2px solid var(--mot-gold);
}

/* ==========================================================
   Header
   ========================================================== */

.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 100px;
  margin-right: 8px;
}

.logo span {
  font-size: 15px;
  font-weight: 700;
  color: var(--mot-navy);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.4px;
}

.header {
  transition: var(--mot-transition);
  z-index: 997;
  height: 60px;
  box-shadow: 0 4px 20px rgba(8, 38, 74, 0.10);
  background: linear-gradient(90deg, #ffffff 0%, #f8fbff 65%, rgba(239, 199, 94, 0.13) 100%);
  padding-left: 20px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--mot-border);
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: var(--mot-blue);
  transition: var(--mot-transition);
}

.header .toggle-sidebar-btn:hover {
  color: var(--mot-gold-dark);
}

.header .search-bar {
  min-width: 500px;
  text-align: center;
  font-weight: 500;
  padding: 0 20px;
  font-size: 12px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: var(--mot-shadow);
    background: #ffffff;
    z-index: 9999;
    transition: var(--mot-transition);
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  font-size: 12px;
  color: var(--mot-text);
  border: 1px solid var(--mot-border);
  padding: 8px 38px 8px 10px;
  border-radius: var(--mot-radius-sm);
  transition: var(--mot-transition);
  width: 100%;
  background: #ffffff;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 0 4px rgba(39, 172, 223, 0.12);
  border-color: var(--mot-sky);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: var(--mot-blue);
}

/* ==========================================================
   Header Navigation
   ========================================================== */

.header-nav ul {
  list-style: none;
}

.header-nav > ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: var(--mot-blue);
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: var(--mot-navy);
}

.header-nav .nav-profile img {
  max-height: 36px;
  border: 2px solid rgba(239, 199, 94, 0.7);
}

.header-nav .nav-profile span {
  font-size: 12px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 6px;
  background: var(--mot-gold);
  color: var(--mot-navy);
}

.header-nav .notifications,
.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item,
.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: var(--mot-transition);
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 15px;
  color: var(--mot-blue);
}

.header-nav .notifications .notification-item h4,
.header-nav .messages .message-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--mot-navy);
}

.header-nav .notifications .notification-item p,
.header-nav .messages .message-item p {
  font-size: 12px;
  margin-bottom: 3px;
  color: var(--mot-muted);
}

.header-nav .notifications .notification-item:hover,
.header-nav .messages .message-item:hover,
.header-nav .profile .dropdown-item:hover {
  background-color: var(--mot-surface-soft);
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--mot-navy);
}

.header-nav .profile .dropdown-header span {
  font-size: 12px;
  color: var(--mot-muted);
}

.header-nav .profile .dropdown-item {
  font-size: 12px;
  padding: 10px 15px;
  transition: var(--mot-transition);
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 14px;
  line-height: 0;
  color: var(--mot-blue);
}

/* ==========================================================
   Sidebar
   ========================================================== */

.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: var(--mot-transition);
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--mot-sky) transparent;
  box-shadow: 8px 0 25px rgba(8, 38, 74, 0.08);
  background: linear-gradient(180deg, var(--mot-navy) 0%, #0b3767 100%);
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: var(--mot-sky);
  border-radius: 20px;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

@media (min-width: 1200px) {
  #main,
  #footer,
  #top_main {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {
  .toggle-sidebar #main,
  .toggle-sidebar #footer,
  .toggle-sidebar #top_main {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li,
.sidebar-nav .nav-item {
  padding: 0;
  margin: 0 0 6px 0;
  list-style: none;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(239, 199, 94, 0.86);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin: 16px 0 7px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #eaf6ff;
  transition: var(--mot-transition);
  background: rgba(255, 255, 255, 0.08);
  padding: 11px 15px;
  border-radius: var(--mot-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav .nav-link i {
  font-size: 14px;
  margin-right: 10px;
  color: var(--mot-gold);
}

.sidebar-nav .nav-link.collapsed {
  color: #eaf6ff;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-nav .nav-link.collapsed i {
  color: rgba(239, 199, 94, 0.95);
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  color: var(--mot-navy);
  background: linear-gradient(135deg, var(--mot-gold), #ffe08a);
  transform: translateX(3px);
}

.sidebar-nav .nav-link:hover i,
.sidebar-nav .nav-link.active i {
  color: var(--mot-navy);
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: #d7ecff;
  padding: 10px 0 10px 40px;
  transition: var(--mot-transition);
}

.sidebar-nav .nav-content a i {
  font-size: 12px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
  color: var(--mot-gold);
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: var(--mot-gold);
}

.sidebar-nav .nav-content a.active i {
  background-color: var(--mot-gold);
}

/* ==========================================================
   Dashboard
   ========================================================== */

.dashboard .filter {
  position: absolute;
  right: 0;
  top: 15px;
}

.dashboard .filter .icon {
  color: var(--mot-muted);
  padding-right: 20px;
  padding-bottom: 5px;
  transition: var(--mot-transition);
  font-size: 14px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: var(--mot-blue);
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mot-muted);
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--mot-navy);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 50%;
}

.dashboard .sales-card .card-icon {
  color: var(--mot-blue);
  background: rgba(39, 172, 223, 0.15);
}

.dashboard .revenue-card .card-icon {
  color: #178a4f;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: var(--mot-gold-dark);
  background: rgba(239, 199, 94, 0.22);
}

.dashboard .activity {
  font-size: 12px;
}

.dashboard .activity .activity-item .activite-label {
  color: var(--mot-muted);
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: var(--mot-border);
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

.dashboard .news .post-item + .post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: var(--mot-radius-sm);
}

.dashboard .news h4 {
  font-size: 12px;
  margin-left: 95px;
  font-weight: 600;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: var(--mot-navy);
}

.dashboard .news h4 a:hover {
  color: var(--mot-gold-dark);
}

.dashboard .news p {
  font-size: 12px;
  color: var(--mot-muted);
  margin-left: 95px;
}

.dashboard .recent-sales,
.dashboard .top-selling {
  font-size: 12px;
}

.dashboard .recent-sales .table thead,
.dashboard .top-selling .table thead {
  background: linear-gradient(135deg, rgba(39, 172, 223, 0.12), rgba(239, 199, 94, 0.15));
}

.dashboard .recent-sales .table thead th,
.dashboard .top-selling .table thead th {
  border: 0;
  color: var(--mot-navy);
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: var(--mot-radius-sm);
  max-width: 60px;
}

/* ==========================================================
   Icons
   ========================================================== */

.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #ffffff;
  border-radius: var(--mot-radius-sm);
  text-align: center;
  color: var(--mot-blue);
  padding: 15px 0;
  box-shadow: var(--mot-shadow-soft);
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mot-muted);
}

/* ==========================================================
   Profile
   ========================================================== */

.profile .profile-card img,
.profile .profile-edit img {
  max-width: 120px;
  border: 3px solid rgba(239, 199, 94, 0.65);
}

.profile .profile-card h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--mot-navy);
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 14px;
  color: var(--mot-muted);
}

.profile .profile-card .social-links a {
  font-size: 15px;
  display: inline-block;
  color: rgba(8, 38, 74, 0.55);
  line-height: 0;
  margin-right: 10px;
  transition: var(--mot-transition);
}

.profile .profile-card .social-links a:hover {
  color: var(--mot-gold-dark);
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 12px;
}

.profile .profile-overview .card-title {
  color: var(--mot-navy);
}

.profile .profile-overview .label,
.profile .profile-edit label {
  font-weight: 600;
  color: rgba(8, 38, 74, 0.65);
}

/* ==========================================================
   FAQ / Contact
   ========================================================== */

.faq .basic h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--mot-blue);
}

.faq .basic p {
  color: var(--mot-muted);
}

.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: var(--mot-blue);
}

.contact .info-box h3 {
  font-size: 15px;
  color: var(--mot-navy);
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 12px;
  margin-bottom: 0;
  color: var(--mot-muted);
}

.contact .php-email-form .error-message {
  display: none;
  color: #ffffff;
  background: #c8371a;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #178a4f;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #ffffff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--mot-blue);
  border-top-color: #eeeeee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  box-shadow: none;
  font-size: 12px;
  border-radius: var(--mot-radius-sm);
  border: 1px solid var(--mot-border);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--mot-sky);
  box-shadow: 0 0 0 4px rgba(39, 172, 223, 0.12);
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: linear-gradient(135deg, var(--mot-blue), var(--mot-sky));
  border: 0;
  padding: 10px 30px;
  color: #ffffff;
  transition: var(--mot-transition);
  border-radius: var(--mot-radius-sm);
  font-weight: 600;
}

.contact .php-email-form button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--mot-gold), var(--mot-gold-dark));
  color: var(--mot-navy);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================
   Error 404
   ========================================================== */

.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 800;
  color: var(--mot-blue);
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--mot-navy);
  margin-bottom: 30px;
}

.error-404 .btn {
  background: var(--mot-navy);
  color: #ffffff;
  padding: 8px 30px;
  border-radius: var(--mot-radius-sm);
}

.error-404 .btn:hover {
  background: var(--mot-gold);
  color: var(--mot-navy);
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/* ==========================================================
   Footer
   ========================================================== */

.footer {
  padding: 20px 0;
  font-size: 12px;
  transition: var(--mot-transition);
  border-top: 1px solid var(--mot-border);
  background: rgba(255, 255, 255, 0.72);
}

.footer .copyright,
.footer .credits {
  text-align: center;
  color: var(--mot-navy);
}

.footer .credits {
  padding-top: 5px;
  font-size: 12px;
}

/* ==========================================================
   Forms / Tables / Buttons
   ========================================================== */

.form-section-title {
  color: var(--mot-blue);
  font-size: 14px;
  margin-bottom: 1rem;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-left: 2rem;
}

.form-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.85rem;
  height: 0.85rem;
  background: linear-gradient(135deg, var(--mot-gold), var(--mot-sky));
  border-radius: 50%;
}

.required-field {
  border: 1px solid #d93025 !important;
  border-radius: 0.375rem;
}

.required-field:focus {
  border-color: #a61b13 !important;
  outline: none;
}

.btn {
  border-radius: var(--mot-radius-sm);
  transition: var(--mot-transition);
}

.btn-primary {
  font-size: 12px;
  background: linear-gradient(135deg, var(--mot-blue), var(--mot-sky));
  border-color: var(--mot-blue);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--mot-gold), var(--mot-gold-dark));
  border-color: var(--mot-gold-dark);
  color: var(--mot-navy);
  box-shadow: 0 0 0 4px rgba(239, 199, 94, 0.22);
}

.btn-outline-primary {
  color: var(--mot-blue);
  border-color: var(--mot-blue);
}

.btn-outline-primary:hover {
  background: var(--mot-blue);
  border-color: var(--mot-blue);
  color: #ffffff;
}

.toggle-filters,
.nav-item a,
.form-control,
.form-select,
.page-link,
.modal-footer button,
.modal-footer a,
label,
table th,
table tr {
  font-size: 12px;
}

label {
  margin: 0 0 10px 1px;
  color: var(--mot-text);
  font-weight: 600;
}

.form-control,
.form-select {
  border-color: var(--mot-border);
  border-radius: var(--mot-radius-sm);
  color: var(--mot-text);
}

.form-select {
  font-size: 12px !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mot-sky);
  box-shadow: 0 0 0 4px rgba(39, 172, 223, 0.12);
}

.h6,
h6 {
  font-size: 14px !important;
}

.table {
  color: var(--mot-text);
}

.table thead th {
  color: var(--mot-navy);
  font-weight: 700;
}

.table-hover tbody tr:hover {
  background-color: rgba(39, 172, 223, 0.07);
}

.page-link {
  color: var(--mot-blue);
  border-color: var(--mot-border);
}

.page-link:hover {
  color: var(--mot-navy);
  background: rgba(239, 199, 94, 0.18);
  border-color: var(--mot-gold);
}

.page-item.active .page-link {
  background: var(--mot-blue);
  border-color: var(--mot-blue);
}

/* ==========================================================
   Responsive polish
   ========================================================== */

@media (max-width: 767px) {
  body {
    font-size: 12px;
  }

  .card-body {
    padding: 0 15px 15px 15px;
  }

  .pagetitle h1 {
    font-size: 15px;
  }

  .logo img {
    max-height: 70px;
  }
}
