html {
  font-size: 100%;
  overflow-y: auto;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  padding: 0;
  background: transparent;
}
body,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #222;
}
b,
strong {
  font-weight: 600;
}
blockquote {
  margin: 1em 40px;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1.25em 0;
  padding: 0;
}
small {
  font-size: 85%;
}
ul,
ol {
  margin: 1em 0;
  padding: 0 0 0 30px;
}
img {
  border: 0;
  vertical-align: middle;
}
form {
  margin: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
label {
  cursor: pointer;
  font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  font-size: 15px;
  margin: 4px 0 8px 0;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  box-sizing: border-box;
  max-width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0072bc;
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.15);
}
input {
  line-height: normal;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
th,
td {
  vertical-align: top;
  padding: 6px 4px;
}
th {
  text-align: left;
  font-weight: 600;
}
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset {
  margin: 0;
  padding: 0;
}

/* Typography */
a, .link {
  color: #0072bc;
  text-decoration: none;
  display: inline;
  margin-bottom: 1px;
}
a:hover, .link:hover {
  border-bottom: 1px dotted #0072bc;
  margin-bottom: 0;
  cursor: pointer;
}
h1 {
  color: #111827;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 8px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
h2, .subject {
  font-size: 17px;
  color: #111827;
  font-weight: 600;
}

/* Helpers */
.centered {
  text-align: center;
}
.clear {
  clear: both;
  height: 1px;
  visibility: hidden;
}
.hidden {
  display: none;
}
.faded {
  color: #6b7280;
}

/* Pagination */
#pagination {
  border: 0;
  margin: 0 0 40px 0;
  padding: 0;
}
#pagination li {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 11px;
  list-style: none;
  display: inline;
}
#pagination li a {
  margin-right: 2px;
  display: block;
  float: left;
  padding: 3px 6px;
  text-decoration: none;
}
#pagination li a:hover {
  color: #ff0084;
}
#pagination .previousOff,
#pagination .nextOff {
  color: #666;
  display: block;
  float: left;
  font-weight: bold;
  padding: 3px 4px;
}
#pagination .next a,
#pagination .previous a {
  font-weight: bold;
}
#pagination .active {
  color: #000;
  font-weight: bold;
  margin-right: 2px;
  display: block;
  float: left;
  padding: 3px 6px;
  text-decoration: none;
}

/* Alerts & Notices */
#msg_notice {
  margin: 0 0 12px 0;
  padding: 10px 14px 10px 38px;
  line-height: 1.4;
  border: 1px solid #0a0;
  border-radius: 6px;
  background: url('../images/icons/ok.png') 12px 50% no-repeat #e0ffe0;
}
#msg_warning, .warning-banner {
  margin: 0 0 12px 0;
  padding: 10px 14px 10px 38px;
  line-height: 1.4;
  border: 1px solid #f26522;
  border-radius: 6px;
  background: url('../images/icons/alert.png') 12px 50% no-repeat #ffffdd;
}
#msg_error {
  margin: 0 0 12px 0;
  padding: 10px 14px 10px 38px;
  line-height: 1.4;
  border: 1px solid #a00;
  border-radius: 6px;
  background: url('../images/icons/error.png') 12px 50% no-repeat #fff0f0;
}
#msg_info {
  margin: 0 0 12px 0;
  padding: 10px 14px;
  color: #3a87ad;
  border: 1px solid #bce8f1;
  border-radius: 6px;
  background-color: #d9edf7;
}
.warning {
  background: #ffc;
  font-style: italic;
}
.warning strong {
  text-transform: uppercase;
  color: #a00;
  font-style: normal;
}
.error {
  color: #dc2626;
}
.error input,
.error select,
.error textarea {
  border: 1px solid #dc2626;
}

/* Buttons */
.button,
.button:visited,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  background: #0072bc;
  border: none;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 22px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  margin-right: 8px;
  transition: background-color 0.15s ease;
}
.button:hover,
input[type="submit"]:hover {
  background-color: #005a96;
  color: #fff;
}
input[type="reset"],
input[type="button"] {
  background-color: #6b7280;
}
input[type="reset"]:hover,
input[type="button"]:hover {
  background-color: #4b5563;
}
.button:active,
input[type="submit"]:active {
  top: 1px;
}
.green.button,
.green.button:visited {
  background-color: #16a34a;
}
.green.button:hover {
  background-color: #15803d;
}
.blue.button,
.blue.button:visited {
  background-color: #0072bc;
}
.blue.button:hover {
  background-color: #005a96;
}

/* Main Container (Responsive & Flat for WordPress Embed) */
#container {
  background: transparent;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-shadow: none;
  border: none;
}
#header {
  position: relative;
  height: 71px;
  padding: 0 20px;
}
#logo {
  height: 100%;
}
#header #logo img {
  max-height: 65px;
  max-width: 380px;
  width: auto;
  height: auto;
  vertical-align: middle;
}
.valign-helper {
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}
#header p {
  width: 400px;
  margin: 0;
  padding: 10px 0 0;
}
#nav {
  margin: 0 20px;
  padding: 2px 10px;
  height: 20px;
  background: url('../images/nav_bg.png') top left repeat-x;
  border-top: 1px solid #aaa;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
#nav li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline;
}
#nav li a {
  display: inline-block;
  width: auto;
  height: 20px;
  line-height: 20px;
  text-align: center;
  padding: 0 10px 0 32px;
  margin-left: 10px;
  color: #333;
  border-radius: 20px;
  background-position: 10px 50%;
  background-repeat: no-repeat;
}
.rtl #nav li a {
  background-position: right center;
  background-position: calc(100% - 10px) center;
  padding-left: 10px;
  padding-right: 32px;
  margin-right: 10px;
  margin-left: 0;
}
#nav li a.active,
#nav li a:hover {
  background-color: #dbefff;
  color: #000;
}
#nav li a:hover {
  background-color: #ededed;
  color: #0054a6;
}
#nav li a.home {
  background-image: url('../images/icons/home.png');
}
#nav li a.kb {
  background-image: url('../images/icons/kb.png');
}
#nav li a.new {
  background-image: url('../images/icons/new.png');
}
#nav li a.status {
  background-image: url('../images/icons/status.png');
}
#nav li a.tickets {
  background-image: url('../images/icons/tix.png');
}
#content {
  padding: 10px 5px;
  margin: 0;
  height: auto !important;
  min-height: 300px;
}
#footer {
  text-align: center;
  font-size: 11px;
  color: #333;
}
#footer a {
  color: #333;
}
#footer p {
  margin: 10px 0 0 0;
}
#footer #poweredBy {
  display: block;
  width: 126px;
  height: 23px;
  outline: none;
  text-indent: -9999px;
  margin: 0 auto;
  background: url('../images/poweredby.png') top left no-repeat;
  background-size: auto 20px;
}
.main-content {
  width: 100%;
}
#landing_page #new_ticket {
  margin-top: 40px;
  background: url('../images/new_ticket_icon.png') top left no-repeat;
}
#landing_page #new_ticket,
#landing_page #check_status {
  width: 295px;
  padding-left: 75px;
}
#landing_page #check_status {
  margin-top: 40px;
  background: url('../images/check_status_icon.png') top left no-repeat;
}
#landing_page h1, #landing_page h2, #landing_page h3 {
  margin-bottom: 10px;
}
#faq {
  clear: both;
  margin: 0;
  padding: 5px;
}
#faq ol {
  font-size: 15px;
  margin-left: 0;
  padding-left: 0;
  border-top: 1px solid #ddd;
}
#faq ol li {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #999;
}
#faq ol li a {
  display: block;
  padding: 5px 0;
  height: auto !important;
  overflow: hidden;
  margin: 0;
}
/* Clean WordPress Embed Polish */
body, #container {
  background: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
}

h1 {
  color: #559e54 !important; /* Matches your WordPress "Ticket" green */
  font-size: 22px !important;
}

/* Make form fields clean and uniform */
#ticketForm input[type="text"],
#ticketForm input[type="email"],
#ticketForm input[type="tel"],
#ticketForm select,
#ticketForm textarea {
  width: 100% !important;
  max-width: 480px !important;
  padding: 10px 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  font-size: 14px !important;
}

/* Keep Phone Ext box compact */
#ticketForm input[name*="ext"] {
  width: 90px !important;
  display: inline-block !important;
}

/* Fix messy CAPTCHA row */
.captchaRow td {
  display: block !important;
  width: 100% !important;
  padding: 4px 0 !important;
}
.captchaRow img {
  margin: 6px 0 !important;
  border-radius: 4px;
}

/* Match your green theme on the primary submit button */
input[type="submit"] {
  background-color: #559e54 !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  border: none !important;
}
input[type="submit"]:hover {
  background-color: #468545 !important;
}
