/* Latin Data Software - shared brand stylesheet for every client-facing
   page (tickets.php, open.php, view.php, profile.php, kb/*.php, etc.).
   Loaded once from include/client/header.inc.php so all client pages
   inherit consistent branding without per-page overrides.
   See docs/CUSTOMIZATIONS.md. */

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #F8FAFC;
}

#container {
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: none;
  background: transparent;
}

/* Top nav bar (replaces the default #header/#nav - see header.inc.php) */
#lds-topnav {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}
.lds-topnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
}
.lds-topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 36px;
}
.lds-topnav-brand:hover { text-decoration: none; }
.lds-topnav-mark {
  height: 22px;
  width: auto;
  filter: invert(1) brightness(0.25);
}
.lds-topnav-brand span {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
}
.lds-topnav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.lds-topnav-links a {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
}
.lds-topnav-links a:hover { background: #F1F5F9; color: #0F172A; }
.lds-topnav-links a.active { background: #EFF6FF; color: #2563EB; }
.lds-topnav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lds-topnav-username {
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.lds-topnav-username:hover { color: #2563EB; }
.lds-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lds-topnav-signout {
  color: #94A3B8;
  text-decoration: none;
  font-size: 13px;
}
.lds-topnav-signout:hover { color: #DC2626; }

/* Content card */
#content {
  background: transparent;
  margin: 0 auto;
  max-width: 1100px;
  padding: 28px 24px;
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
  height: auto !important;
}

/* Footer */
#footer {
  background: transparent;
  color: #94A3B8;
  margin-top: 16px;
}
#footer a { color: #64748B; }

/* Buttons */
.button, input[type=submit], input[type=button], button.submit, .btn {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}
.button:hover, input[type=submit]:hover, input[type=button]:hover, button.submit:hover {
  background: #1D4ED8 !important;
}
.green.button, .button.green { background: #16A34A !important; }
.red.button, .button.red { background: #DC2626 !important; }

/* Inputs */
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], textarea, select {
  border: 1px solid #D1D5DB !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-family: inherit !important;
}
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus,
textarea:focus, select:focus {
  outline: none !important;
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15) !important;
}

/* Links */
a { color: #2563EB; }
a:hover { color: #1D4ED8; }

/* Landing page search / featured KB */
.search-form input.search {
  border: 1px solid #D1D5DB;
  border-radius: 8px 0 0 8px;
}

/* ---- Mis Tickets (tickets.inc.php) ---- */
.lds-tk-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lds-tk-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px 0;
}
.lds-tk-header .lds-tk-sub {
  font-size: 13.5px;
  color: #64748B;
}
.lds-btn-new {
  display: inline-block;
  background: #2563EB;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
}
.lds-btn-new:hover { background: #1D4ED8; }

.lds-tk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.lds-tabs { display: flex; gap: 8px; }
.lds-tab {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  text-decoration: none;
}
.lds-tab:hover { background: #E2E8F0; color: #0F172A; }
.lds-tab.active { background: #2563EB; color: #FFFFFF; }
.lds-tk-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lds-tk-search input[type=text] {
  border: 1px solid #D1D5DB !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 13px !important;
  width: 200px;
}
.lds-tk-search select {
  border: 1px solid #D1D5DB !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
}
.lds-tk-search .lds-search-btn {
  padding: 7px 14px !important;
  font-size: 13px !important;
}
.lds-tk-clear { font-size: 12px; color: #94A3B8; margin-bottom: 10px; }
.lds-tk-clear a { color: #64748B; }

.lds-tk-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}
table.lds-tk-table { width: 100%; border-collapse: collapse; }
table.lds-tk-table th {
  background: #F8FAFC;
  color: #64748B;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid #E2E8F0;
}
table.lds-tk-table th a { color: inherit; text-decoration: none; }
table.lds-tk-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13.5px;
  color: #334155;
  vertical-align: middle;
}
table.lds-tk-table tr:last-child td { border-bottom: none; }
table.lds-tk-table tr:hover td { background: #F8FAFC; }
.lds-tk-num a { color: #2563EB; font-weight: 700; text-decoration: none; }
.lds-tk-num a:hover { text-decoration: underline; }
.lds-tk-subject { color: #0F172A; }
.lds-tk-module { color: #64748B; }
.lds-tk-updated { color: #94A3B8; font-size: 12.5px; }
.lds-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.lds-pill-open { background: #DBEAFE; color: #1D4ED8; }
.lds-pill-closed { background: #E2E8F0; color: #475569; }
.lds-tk-empty { padding: 40px 18px; text-align: center; color: #94A3B8; font-size: 14px; }
.lds-tk-pagenav { margin-top: 14px; font-size: 13px; color: #64748B; }
