/* ===============================
GENVETH ULTRA PREMIUM UI (FINAL)
=============================== */

/* ===== ROOT ===== */
:root {
  --primary: #0BA360;
  --primary-dark: #078E52;

  --text: #0F172A;
  --muted: #6B7280;

  --glass: rgba(255, 255, 255, 0.995);
  --border: rgba(255,255,255,0.35);
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* FIX RIGHT SPACE */
}

/* ===============================
🌿 GENVETH BACKGROUND (FINAL)
=============================== */

body {
  background: linear-gradient(
    135deg,
    #E9F9F3 0%,   /* light green */
    #F4FBF8 50%,  /* soft white-green */
    #E6F7F1 100%  /* smooth finish */
  ) !important;

  min-height: 100vh;
}

/* REMOVE GREY BACKGROUND FROM OSTICKET */
#container,
#content,
#landing_page {
  background: transparent !important;
  box-shadow: none !important;
}
/* SOFT GLOW EFFECT */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  z-index: -1;
  border-radius: 50%;
}

body::before {
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, #0BA36020, transparent);
}

body::after {
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, #34D39920, transparent);
}
/* ===== OSTICKET LAYOUT FIX ===== */
#container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#content {
  max-width: 1100px;
  margin: auto !important;
  padding: 30px 20px;
}

/* ===== NAVBAR ===== */
#genveth-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 30px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid #eee;

  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== MAIN WRAPPER ===== */
.genveth-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== HERO ===== */
.genveth-hero {
  text-align: center;
  margin: 50px 0 40px;
}

.genveth-hero h1 {
  font-size: 36px;
  font-weight: 700;

  background: linear-gradient(90deg, #0BA360, #3CD3AD);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;
}

.genveth-hero p {
  color: var(--muted);
  margin-top: 10px;
}


/* ===== GRID ===== */
.genveth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* ===== CARD ===== */
.genveth-card {
  background: var(--glass);
  backdrop-filter: blur(14px);

  border-radius: 18px;
  padding: 28px;
  text-align: center;

  border: 1px solid var(--border);

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.genveth-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* ICON */
.genveth-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

/* TEXT */
.genveth-card h3 {
  margin: 10px 0;
}

.genveth-card p {
  color: var(--muted);
  font-size: 14px;
}


/* ===== FORM FIX ===== */
input, select, textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;

  border-radius: 8px;
  border: 1px solid #ddd;

  background: white;
  font-size: 14px;

  box-sizing: border-box;
}

/* FOCUS */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(11,163,96,0.2);
}

/* ===== TABLE ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass);
  border-radius: 12px;
  overflow: hidden;
}

table th {
  background: var(--primary);
  color: white;
  padding: 10px;
}

table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* ===== ALERTS ===== */
.notice_bar {
  background: #ecfdf5;
  color: #065f46;
  padding: 10px;
  border-radius: 8px;
}

.warning_bar {
  background: #fffbeb;
  color: #92400e;
  padding: 10px;
  border-radius: 8px;
}

.error_bar {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px;
  border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .genveth-grid {
    grid-template-columns: 1fr;
  }

  .genveth-stats {
    flex-direction: column;
  }

  #genveth-navbar {
    flex-direction: column;
    gap: 10px;
  }
}
/* ===== BUTTON ROW ===== */
.genveth-btn-row {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

/* COMMON BUTTON STYLE */
.genveth-btn-row input {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.genveth-btn-row input[type="submit"] {
  background: linear-gradient(90deg, #0BA360, #3CD3AD);
  color: #57f477 !important;   
}
/* RESET BUTTON */
.genveth-btn-row input[type="reset"] {
  background: #f3f4f6;
  color: #111;
}

/* CANCEL BUTTON */
.genveth-btn-row input[type="button"] {
  background: #f3f4f6;
  color: #111;
}

/* HOVER EFFECT */
.genveth-btn-row input:hover {
  transform: translateY(-2px);
}
/* ===============================
   TICKET VIEW MODERN UI
=============================== */

/* CARD WRAPPER */
.genveth-ticket-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);

  padding: 25px;
  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin: 30px auto;
}

/* TABLE CLEANUP */
#ticketInfo {
  border-collapse: separate;
  border-spacing: 0 10px;
}

/* HEADINGS */
#ticketInfo h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* INNER TABLES */
.infoTable {
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  overflow: hidden;
}

.infoTable th {
  text-align: left;
  padding: 10px;
  color: #374151;
}

.infoTable td {
  padding: 10px;
}

/* SECTION HEAD */
.headline {
  background: #0BA360;
  color: white;
  padding: 10px;
  font-weight: 600;
}

/* CUSTOM DATA */
.custom-data {
  margin-top: 20px;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
}

/* THREAD SECTION */
#ticketThread {
  margin-top: 30px;
}

/* REPLY FORM */
#reply {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);

  padding: 25px;
  border-radius: 16px;

  margin-top: 30px;
}

/* TEXTAREA */
#reply textarea {
  width: 100%;
  border-radius: 10px;
  padding: 12px;
}

/* BUTTON ROW */
#reply p {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* BUTTON STYLE */
#reply input[type="submit"],
#reply input[type="reset"],
#reply input[type="button"] {
  min-width: 150px;
  padding: 12px;

  border-radius: 12px;
  border: none;

  font-weight: 600;
  cursor: pointer;
}

/* PRIMARY */
#reply input[type="submit"] {
  background: linear-gradient(135deg, #0BA360, #34D399);
  color: #27df68;
}

/* SECONDARY */
#reply input[type="reset"],
#reply input[type="button"] {
  background: #f3f4f6;
}

/* HOVER */
#reply input:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}/* ===============================
🔥 FINAL OVERRIDE FIX (IMPORTANT)
=============================== */

/* ===== FORCE CENTER EVERYTHING ===== */
#content {
  max-width: 1000px !important;
  margin: 40px auto !important;
  padding: 20px !important;
}

/* ===== FIX ALL FORMS ===== */
form {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);

  padding: 30px !important;
  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== BUTTON FIX (VERY IMPORTANT) ===== */
form p:last-child {
  display: flex !important;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

/* ALL BUTTONS */
form input[type="submit"],
form input[type="reset"],
form input[type="button"] {
  min-width: 150px;
  padding: 12px 20px;

  border-radius: 12px;
  border: none;

  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

 /* CREATE BUTTON FIXED
form input[type="submit"] {
 background: linear-gradient(135deg, #0BA360, #34D399); 
  color: rgb(45, 235, 140) !important; 
} */

/* SECONDARY BUTTONS */
form input[type="reset"],
form input[type="button"] {
  background: #f3f4f6;
  color: #111;
}

/* HOVER */
form input:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===== TRACK PAGE FIX ===== */
#ticketLookup {
  display: flex !important;
  gap: 30px;
  align-items: center;
}

/* ===== LOGIN PAGE FIX ===== */
#clientLogin {
  max-width: 450px;
  margin: 40px auto;
}

/* ===== HEADINGS CENTER ===== */
h1, h2 {
  text-align: center;
}

/* ===== ERROR BOX FIX ===== */
.error, .warning {
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 15px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  #ticketLookup {
    flex-direction: column;
  }

  form p:last-child {
    flex-direction: column;
  }
}
/* ===============================
 TRACK PAGE PERFECT FIX
=============================== */

/* MAIN BOX */
#ticketLookup {
  display: flex !important;
  justify-content: space-between;
  align-items: center;

  gap: 40px;
  padding: 30px;

  max-width: 700px;
  margin: 0 auto;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);

  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* LEFT SIDE (FORM) */
#ticketLookup > div:first-child {
  flex: 2;
}

/* RIGHT SIDE (TEXT + ICON) */
#ticketLookup > div:last-child {
  flex: 1;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* FIX TEXT ALIGN */
#ticketLookup p {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

/* LOCK IMAGE */
#ticketLookup img {
  margin-top: 15px;
  width: 80px;
}

/* INPUT SPACING */
#ticketLookup input {
  margin-bottom: 12px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  #ticketLookup {
    flex-direction: column;
    text-align: center;
  }
}
/* ===============================
🔥 FINAL CLEAN OVERRIDE (PERFECT UI)
=============================== */

/* ===== CENTER CONTENT ===== */
#content {
  max-width: 1000px !important;
  margin: 40px auto !important;
  padding: 20px !important;
}

/* ===== FORM CARD ===== */
form {
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(12px);

  padding: 30px !important;
  border-radius: 20px;

  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

/* ===== PAGE WRAPPER ===== */
.genveth-page {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

/* ===== HERO ===== */
.genveth-hero {
  text-align: center;
  margin-bottom: 40px;
}

.genveth-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #0BA360;
}

.genveth-hero p {
  color: #6B7280;
  margin-top: 10px;
}

/* ===== CARD WRAPPER ===== */
.genveth-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: stretch;
}

/* ===== FORM CARD ===== */
.genveth-form-card {
  background: rgba(255,255,255,0.9);
  padding: 30px;
  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== INFO CARD ===== */
.genveth-info-card {
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 16px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ===== FORM FIELD ===== */
.genveth-field {
  margin-bottom: 20px;
}

.genveth-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

/* INPUT */
.genveth-field input {
  width: 100%;
  padding: 12px;

  border-radius: 10px;
  border: 1px solid #ddd;

  font-size: 14px;
}

/* FOCUS */
.genveth-field input:focus {
  outline: none;
  border-color: #0BA360;
  box-shadow: 0 0 0 2px rgba(11,163,96,0.2);
}

/* ===== BUTTON CENTER ===== */
.genveth-btn-center {
  margin-top: 10px;
}

/* ===== BUTTON ===== */
.genveth-btn {
  width: 100%;
  padding: 14px;

  border-radius: 12px;
  border: none;

  background: linear-gradient(135deg, #0BA360, #34D399);
  color: white;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s;
}

/* HOVER */
.genveth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,163,96,0.3);
}

/* ===== FOOT TEXT ===== */
.genveth-footer-text {
  text-align: center;
  margin-top: 30px;
  color: #6B7280;
}

.genveth-footer-text a {
  color: #0BA360;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .genveth-card-wrapper {
    grid-template-columns: 1fr;
  }
}
/* ===== OSTICKET ERROR (FINAL FIX) ===== */
#msg_error {
  max-width: 900px !important;
  margin: 20px auto !important;

  padding: 16px 20px !important;
  border-radius: 12px !important;

  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid #ef4444 !important;

  color: #991b1b !important;
  font-weight: 500;

  display: flex !important;
  align-items: center;
  gap: 10px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* ICON */
#msg_error::before {
  content: "✖";
  font-weight: bold;
  color: #ef4444;
}
/* ===== SUCCESS MESSAGE (FINAL) ===== */
#msg_notice {
  max-width: 900px !important;
  margin: 20px auto !important;

  padding: 16px 20px !important;
  border-radius: 12px !important;

  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid #10B981 !important;

  color: #065f46 !important;
  font-weight: 500;

  display: flex !important;
  align-items: center;
  gap: 10px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* ICON */
#msg_notice::before {
  content: "✔";
  font-weight: bold;
  color: #10B981;
}
/* 🔥 TEXT-ONLY SUBMIT (FINAL) */
.genveth-link-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;

  padding: 0 !important;
  margin-top: 10px;

  color: hsl(154, 60%, 50%) !important;
  font-size: 15px;
  font-weight: 500;

  cursor: pointer;
  text-decoration: underline;
}
