/*=== ITVDesk osTicket client polish 2026-05 ===*/
html {
  background: #eef3f6;
}

body {
  background: #eef3f6 !important;
  color: #1f2d3d !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

a {
  color: #0788a8;
}

a:hover,
a:focus {
  color: #056f8a;
}

#container {
  background: #ffffff !important;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31,45,61,0.08) !important;
  margin: 24px auto 14px !important;
  max-width: 1120px;
  overflow: hidden;
  width: calc(100% - 32px) !important;
}

#header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #edf1f6;
  display: flex;
  height: auto !important;
  justify-content: space-between;
  padding: 18px 24px !important;
}

#header #logo {
  align-items: center;
  display: inline-flex;
  float: none !important;
  height: auto !important;
  max-width: 260px;
  width: auto !important;
}

#header #logo img {
  height: auto;
  max-height: 58px;
  max-width: 240px;
  width: auto;
}

#header .flush-right {
  color: #52616f;
  float: none !important;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

#header p {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

#header .flush-right a {
  background: #eef6fb;
  border: 1px solid #cfe0f2;
  border-radius: 999px;
  color: #0788a8;
  display: inline-flex;
  font-weight: 900;
  margin-left: 6px;
  padding: 7px 12px;
  text-decoration: none;
}

#header .flush-right a:hover,
#header .flush-right a:focus {
  background: #e8f6fb;
  color: #056f8a;
}

#nav {
  align-items: center;
  background: #f7f9fc !important;
  border: 0 !important;
  border-bottom: 1px solid #dfe6ef !important;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 24px !important;
}

#nav li {
  display: block !important;
}

#nav li a {
  background-image: none !important;
  border: 1px solid transparent;
  border-radius: 6px !important;
  box-sizing: border-box;
  color: #34495a !important;
  display: inline-flex !important;
  float: none !important;
  font-size: 13px;
  font-weight: 900;
  height: auto !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  min-height: 38px;
  padding: 10px 13px !important;
  text-decoration: none;
}

#nav li a.active,
#nav li a:hover,
#nav li a:focus {
  background: #ffffff !important;
  border-color: #cfe0f2;
  color: #0788a8 !important;
}

#content {
  margin: 0 !important;
  min-height: 360px !important;
  padding: 28px 30px 34px !important;
}

#landing_page {
  color: #1f2d3d;
}

#landing_page .main-content {
  float: none !important;
  width: auto !important;
  overflow: hidden;
}

#landing_page .sidebar {
  float: right !important;
  margin-left: 24px;
  width: 300px;
}

#landing_page .search-form {
  background: #f7f9fc;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  margin: 0 0 20px;
  padding: 14px;
}

#landing_page .search-form form {
  align-items: center;
  display: flex;
  gap: 10px;
}

#landing_page input.search {
  background: #ffffff;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  box-sizing: border-box;
  color: #1f2d3d;
  flex: 1 1 auto;
  font-size: 15px;
  height: 44px;
  min-width: 0;
  padding: 10px 12px;
}

.button,
.button:visited,
button.button,
input[type="submit"].button {
  border: 1px solid #0788a8 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  padding: 12px 16px !important;
  text-shadow: none !important;
}

.blue.button,
.blue.button:visited,
.green.button,
.green.button:visited,
button.green.button {
  background: #0788a8 !important;
  color: #ffffff !important;
}

.blue.button:hover,
.blue.button:focus,
.green.button:hover,
.green.button:focus,
button.green.button:hover,
button.green.button:focus {
  background: #056f8a !important;
  border-color: #056f8a !important;
  color: #ffffff !important;
}

.front-page-button {
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(31,45,61,0.05);
  padding: 16px;
}

.front-page-button p {
  margin: 0 0 10px;
}

.front-page-button p:last-child {
  margin-bottom: 0;
}

.front-page-button .button {
  box-sizing: border-box;
  display: flex !important;
  justify-content: center;
  width: 100% !important;
}

#landing_page .sidebar .content {
  margin-top: 16px;
}

#landing_page .sidebar section {
  background: #f7f9fc;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 14px;
}

#landing_page .sidebar section .header {
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}

.thread-body {
  color: #52616f;
}

.thread-body h1,
.itv-helpdesk-landing h1 {
  color: #1f2d3d !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  margin: 0 0 12px !important;
}

.thread-body p,
.itv-helpdesk-landing p {
  color: #52616f;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.itv-helpdesk-eyebrow {
  color: #0788a8;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.itv-helpdesk-lead {
  max-width: 680px;
}

.itv-helpdesk-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.itv-helpdesk-card {
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 16px;
}

.itv-helpdesk-card strong {
  color: #1f2d3d;
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 7px;
}

.itv-helpdesk-card span {
  color: #52616f;
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.itv-helpdesk-note {
  background: #eef6fb;
  border: 1px solid #cfe0f2;
  border-left: 4px solid #0788a8;
  border-radius: 8px;
  color: #34495a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 18px;
  padding: 13px 15px;
}

#footer {
  color: #52616f !important;
  font-size: 12px !important;
  margin: 0 auto 24px;
  max-width: 1120px;
  text-align: center;
  width: calc(100% - 32px);
}

#footer p {
  margin: 8px 0 !important;
}

#footer a {
  color: #52616f !important;
}

#footer #poweredBy {
  opacity: 0.65;
}

@media (max-width: 900px) {
  #landing_page .sidebar {
    float: none !important;
    margin: 0 0 20px;
    width: auto;
  }

  #landing_page .main-content {
    clear: both;
  }

  .itv-helpdesk-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #container {
    border-radius: 0;
    margin-top: 0 !important;
    width: 100% !important;
  }

  #header {
    align-items: flex-start;
    display: grid;
    gap: 10px;
    padding: 16px !important;
  }

  #header .flush-right {
    text-align: left;
  }

  #nav {
    padding: 10px 16px !important;
  }

  #nav li a {
    font-size: 12px;
    min-height: 34px;
    padding: 9px 10px !important;
  }

  #content {
    padding: 20px 16px 28px !important;
  }

  #landing_page .search-form form {
    display: grid;
  }

  #landing_page input.search,
  #landing_page .search-form .button {
    width: 100% !important;
  }

  .thread-body h1,
  .itv-helpdesk-landing h1 {
    font-size: 28px !important;
  }
}
/*=== /ITVDesk osTicket client polish 2026-05 ===*/
