/* ============================================================
   UPBIT-TRADE STYLE - GoldCoder Template
   Red/Dark Modern Investment Platform Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --primary-light: #ff6b6b;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --dark3: #0f3460;
  --white: #ffffff;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --green: #27ae60;
  --orange: #e67e22;
  --gold: #f1c40f;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, td, .forTexts {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #333;
  background: var(--light);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark); }
h3 { font-size: 20px; margin-bottom: 16px; }

form { margin: 0; }

img { max-width: 100%; }

/* ============ NAVBAR ============ */
.ut-navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px; background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 1000;
}
.ut-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ut-logo svg { width: 40px; height: 40px; }
.ut-logo-text { font-weight: 800; font-size: 15px; color: var(--dark); letter-spacing: 0.5px; }
.ut-nav-links { display: flex; align-items: center; gap: 20px; }
.ut-nav-links a {
  color: #444; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: var(--transition);
}
.ut-nav-links a:hover, .ut-nav-links a.active { color: var(--primary); }
.ut-btn-login {
  padding: 7px 20px; border: 1px solid #333; border-radius: 4px;
  font-weight: 600; font-size: 12px; color: #333 !important;
}
.ut-btn-login:hover { background: #333; color: var(--white) !important; }
.ut-btn-register {
  padding: 7px 20px; background: var(--primary); color: var(--white) !important;
  border-radius: 4px; font-weight: 600; font-size: 12px; border: 1px solid var(--primary);
}
.ut-btn-register:hover { background: var(--primary-dark); }

/* Mobile Nav */
.ut-mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
@media(max-width:768px) {
  .ut-navbar { padding: 12px 16px; flex-wrap: wrap; }
  .ut-mobile-toggle { display: block; }
  .ut-nav-links {
    display: none; flex-direction: column; width: 100%;
    padding-top: 16px; gap: 12px;
  }
  .ut-nav-links.open { display: flex; }
}

/* ============ HERO ============ */
.ut-hero {
  position: relative; min-height: 420px; display: flex; align-items: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  overflow: hidden;
}
.ut-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1200&q=80') center/cover no-repeat;
  opacity: 0.15;
}
.ut-hero-content {
  position: relative; z-index: 2; text-align: center;
  width: 100%; padding: 60px 20px;
}
.ut-hero-content .welcome { color: var(--primary); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.ut-hero-content h1 { font-size: 34px; font-weight: 700; color: #222; line-height: 1.3; margin-bottom: 28px; }
.ut-hero-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ut-btn-red {
  padding: 12px 32px; background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 14px; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.ut-btn-red:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.ut-btn-dark {
  padding: 12px 32px; background: #333; color: var(--white);
  border: none; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 14px; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.ut-btn-dark:hover { background: #111; transform: translateY(-2px); }

/* ============ BUSINESS/ABOUT SECTION ============ */
.ut-business {
  text-align: center; padding: 60px 20px; background: var(--white);
}
.ut-business .trophy { font-size: 52px; margin-bottom: 12px; }
.ut-business .sub-label {
  color: var(--primary); font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.ut-business h2 { font-size: 24px; margin-bottom: 16px; color: #222; }
.ut-business p { font-size: 13px; color: #666; max-width: 600px; margin: 0 auto 28px; line-height: 1.8; }
.ut-business-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ut-btn-outline {
  padding: 11px 24px; background: var(--white); color: #333;
  border: 1px solid #333; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 12px; cursor: pointer; text-transform: uppercase;
  font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.ut-btn-outline:hover { background: #333; color: var(--white); }
.ut-btn-cta {
  padding: 11px 24px; background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 12px; cursor: pointer; text-transform: uppercase;
  font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.ut-btn-cta:hover { background: var(--primary-dark); }

/* ============ INVESTMENT PACKAGES ============ */
.ut-packages { padding: 50px 20px; background: var(--white); }
.ut-packages .section-label {
  color: var(--primary); font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
  text-decoration: underline;
}
.ut-packages h2 { font-size: 24px; margin-bottom: 24px; }
.ut-plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; max-width: 900px;
}
.ut-plan-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); padding: 20px 16px; color: var(--white);
  position: relative; overflow: hidden; transition: var(--transition);
}
.ut-plan-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(231,76,60,0.3); }
.ut-plan-card::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 90px; height: 90px; background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.ut-plan-card .plan-name {
  font-size: 12px; font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 4px;
}
.ut-plan-card .plan-name::before { content: '|'; color: var(--gold); }
.ut-plan-card .percentage { font-size: 42px; font-weight: 800; line-height: 1; }
.ut-plan-card .percentage sup { font-size: 20px; }
.ut-plan-card .duration { font-size: 11px; font-weight: 700; margin-top: 6px; }
.ut-plan-card .range { font-size: 9px; opacity: 0.8; margin-top: 3px; }

/* ============ CRYPTO TICKER (TradingView Widget) ============ */
.ut-ticker { padding: 0; background: var(--white); border-top: 1px solid #eee; }

/* ============ LIVE STATISTICS ============ */
.ut-stats {
  background: var(--dark); padding: 40px 20px; color: var(--white);
}
.ut-stats-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ut-stats-header .chart-icon { font-size: 32px; opacity: 0.5; }
.ut-stats-header .live-text { font-size: 20px; font-weight: 800; }
.ut-stats-header .live-text span { color: var(--primary); }
.ut-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; text-align: center;
}
.ut-stat-item .stat-icon { font-size: 22px; opacity: 0.5; margin-bottom: 6px; }
.ut-stat-item .stat-number { font-size: 20px; font-weight: 700; }
.ut-stat-item .stat-label { font-size: 10px; color: var(--primary); font-weight: 500; margin-top: 4px; }

/* ============ FOOTER ============ */
.ut-footer {
  background: var(--dark); padding: 30px 40px; color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ut-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.ut-footer-logo { display: flex; align-items: center; gap: 8px; }
.ut-footer-logo svg { width: 36px; height: 36px; }
.ut-footer-logo span { color: var(--primary); font-weight: 700; font-size: 15px; }
.ut-footer-text { font-size: 11px; max-width: 400px; line-height: 1.6; }
.ut-footer-copy { text-align: center; padding-top: 20px; font-size: 11px; color: #555; }

/* ============ DASHBOARD HEADER ============ */
.ut-dash-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark), #a93226);
  padding: 28px 40px 20px; color: var(--white); position: relative; overflow: hidden;
}
.ut-dash-header::after {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 220px; height: 220px; background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.ut-dash-header h1 { color: var(--white); font-size: 24px; }
.ut-dash-breadcrumb { font-size: 12px; margin-top: 4px; }
.ut-dash-breadcrumb a { color: #90ee90; text-decoration: none; }

/* ============ WELCOME CARD ============ */
.ut-welcome-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin: 20px; border-radius: var(--radius); padding: 24px;
  color: var(--white); position: relative; overflow: hidden;
}
.ut-welcome-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
}
.ut-welcome-card .label { font-size: 12px; opacity: 0.85; }
.ut-welcome-card .username { font-size: 24px; font-weight: 700; }
.ut-welcome-card .badge {
  display: inline-block; margin-top: 8px; padding: 3px 12px;
  background: rgba(0,0,0,0.25); border-radius: 4px;
  font-size: 10px; font-weight: 500;
}
.ut-welcome-card .ref-link { margin-top: 12px; font-size: 12px; word-break: break-all; }

/* ============ BALANCE CARDS ============ */
.ut-balance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; padding: 0 20px; margin-top: 20px;
}
.ut-bal-card {
  border-radius: var(--radius); padding: 24px 18px; color: var(--white);
  position: relative; overflow: hidden; transition: var(--transition);
}
.ut-bal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ut-bal-card::after {
  content: ''; position: absolute; bottom: -10px; right: -10px;
  width: 80px; height: 80px; background: rgba(255,255,255,0.08);
  border-radius: 10px; transform: rotate(15deg);
}
.ut-bal-card.green { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.ut-bal-card.orange { background: linear-gradient(135deg, #e67e22, #f39c12); }
.ut-bal-card.red { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.ut-bal-card.blue { background: linear-gradient(135deg, #2980b9, #3498db); }
.ut-bal-card.purple { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.ut-bal-card .bal-amount { font-size: 26px; font-weight: 700; }
.ut-bal-card .bal-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-top: 4px; opacity: 0.9;
}

/* ============ DASHBOARD TABS ============ */
.ut-dash-tabs {
  display: flex; gap: 0; margin: 24px 20px 0; background: var(--white);
  border-radius: var(--radius); overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ut-dash-tab {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  font-size: 11px; font-weight: 600; color: #666; white-space: nowrap;
  text-decoration: none; transition: var(--transition); border: none;
  background: transparent; cursor: pointer; text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}
.ut-dash-tab:hover { color: var(--primary); background: rgba(231,76,60,0.05); }
.ut-dash-tab.active { background: #333; color: var(--white); border-radius: var(--radius-sm); }

/* ============ CONTENT SECTION ============ */
.ut-content-section {
  margin: 20px; padding: 28px; background: var(--white);
  border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ============ FORMS ============ */
.inpts, input[type="text"], input[type="password"], input[type="email"], select, textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #ddd;
  border-radius: var(--radius-sm); font-size: 13px;
  font-family: 'Poppins', sans-serif; color: #333;
  background: var(--white); transition: var(--transition);
  box-sizing: border-box;
}
.inpts:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
textarea.inpts { resize: vertical; min-height: 80px; }

.sbmt, input[type="submit"] {
  padding: 10px 28px; background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 13px; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.sbmt:hover, input[type="submit"]:hover {
  background: var(--primary-dark); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* ============ TABLES ============ */
table { border-collapse: collapse; }
td.inheader, .inheader {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important; font-weight: 600; font-size: 12px;
  padding: 10px 12px !important; text-align: center;
}
td.item, .item {
  background: var(--white) !important; padding: 10px 12px !important;
  border-bottom: 1px solid #eee; font-size: 13px;
}
.ut-table {
  width: 100%; border-collapse: collapse; margin-top: 16px;
}
.ut-table thead { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.ut-table thead th {
  padding: 10px 14px; color: var(--white); font-size: 11px;
  font-weight: 600; text-align: left;
}
.ut-table tbody td {
  padding: 10px 14px; font-size: 12px; color: #444;
  border-bottom: 1px solid #eee;
}

/* ============ SIDEBAR STYLES ============ */
.title {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important; font-size: 13px !important;
  font-weight: 600 !important; padding: 10px 12px !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
a.menutxt, a.menutxt:hover, a.menutxt:visited, a.menutxt:active {
  font-family: 'Poppins', sans-serif; font-size: 12px;
  color: #444; display: block; padding: 6px 4px;
  transition: var(--transition);
}
a.menutxt:hover { color: var(--primary); padding-left: 8px; }
.menutxt { font-family: 'Poppins', sans-serif; font-size: 12px; color: #444; }

/* ============ TOP NAV BAR (Old layout compatibility) ============ */
a.toplink, a.toplink:hover, a.toplink:visited, a.toplink:active {
  color: var(--white); text-decoration: none; font-size: 13px; font-weight: 500;
}
.toptable { background-color: var(--primary) !important; }
.line { background-color: #eee; }
.bgcolorleft, .bgcolormain, .bgcolorright { background-color: var(--white); }
div.framebody { text-align: left; padding: 10px; }

.forCopyright {
  font-family: 'Poppins', sans-serif; font-size: 11px;
  color: var(--white); text-align: center;
  background-color: var(--dark); padding: 14px;
}
a.forCopyright { color: var(--primary); }

/* ============ CALENDAR ============ */
.calendartable { background-color: var(--primary); text-align: center; }
.calendartablebg { background-color: var(--white); }
.calendarweek { background-color: var(--primary); text-align: center; }

/* ============ PROCESSING TABLE ============ */
.ut-processing-table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.ut-processing-table thead { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.ut-processing-table thead th {
  padding: 10px 14px; color: var(--white); font-size: 11px; font-weight: 600; text-align: left;
}
.ut-processing-table tbody td {
  padding: 10px 14px; font-size: 12px; color: #444; border-bottom: 1px solid #eee;
}

/* ============ ALERTS & MESSAGES ============ */
.error, div.error { color: var(--primary); font-weight: 500; margin: 8px 0; font-size: 13px; }
.success { color: var(--green); font-weight: 500; }
.msg {
  padding: 14px 18px; background: #fff3cd; border: 1px solid #ffc107;
  border-radius: var(--radius-sm); margin: 10px 0; font-size: 13px;
}
td.gray, .gray { color: var(--gray); }

/* ============ PAGINATION ============ */
ul.pagination { list-style: none; margin: auto; padding: 16px 0; text-align: center; }
ul.pagination li {
  display: inline-block; padding: 4px 10px; margin: 2px;
  border-radius: 4px; background: #eee; font-size: 12px;
}

/* ============ TradingView Chart Widget ============ */
.ut-chart-section { padding: 20px; background: var(--white); }
.ut-chart-section h2 { font-size: 20px; margin-bottom: 16px; }

/* ============ LOGIN PAGE ============ */
.ut-login-page {
  min-height: 100vh; display: flex; flex-direction: column;
}
.ut-login-hero {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  padding: 40px 20px; position: relative; overflow: hidden;
}
.ut-login-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1639762681485-074b7f938ba0?w=1200&q=80') center/cover;
  opacity: 0.08;
}
.ut-login-box {
  position: relative; z-index: 2; width: 100%; max-width: 420px;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 36px; color: var(--white);
}
.ut-login-box h2 { color: var(--white); text-align: center; margin-bottom: 24px; font-size: 22px; }
.ut-login-box .form-group { margin-bottom: 16px; }
.ut-login-box label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; color: #ccc; }
.ut-login-box input[type="text"],
.ut-login-box input[type="password"] {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); padding: 12px 16px;
}
.ut-login-box input[type="text"]::placeholder,
.ut-login-box input[type="password"]::placeholder { color: #888; }
.ut-login-box .sbmt, .ut-login-box input[type="submit"] {
  width: 100%; padding: 13px; font-size: 15px;
}
.ut-login-box a { color: var(--primary-light); font-size: 12px; }

/* ============ SIGNUP PAGE ============ */
.ut-signup-section {
  max-width: 600px; margin: 0 auto; padding: 30px 20px;
}
.ut-signup-section .form-row { margin-bottom: 14px; }
.ut-signup-section .form-row label {
  display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: #555;
}

/* ============ LEGACY GOLDCODER AUTO-STYLING ============ */
/* These rules auto-style old GoldCoder table/form HTML without rewriting templates */

/* All tables inside content section get clean styling */
.ut-content-section table,
.framebody table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.ut-content-section table td,
.ut-content-section table th,
.framebody table td,
.framebody table th {
  padding: 8px 10px;
  vertical-align: top;
}

/* Legacy header rows */
td.inheader, th.inheader, .inheader {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 10px 12px !important;
  text-align: center;
  border: none !important;
}

/* Legacy data rows */
td.item, .item {
  background: var(--white) !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid #eee !important;
  font-size: 13px;
}
td.item:hover, .item:hover {
  background: #fafafa !important;
}

/* Deposit confirm tables */
.deposit_confirm, table.form {
  width: 100%;
}
.deposit_confirm th,
table.form th {
  text-align: left;
  color: #555;
  font-weight: 700;
  padding: 10px 12px;
  width: 180px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}
.deposit_confirm td,
table.form td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

/* All form inputs inside old templates */
.ut-content-section input[type="text"],
.ut-content-section input[type="password"],
.ut-content-section input[type="email"],
.ut-content-section textarea,
.ut-content-section select,
.framebody input[type="text"],
.framebody input[type="password"],
.framebody textarea,
.framebody select {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: var(--white);
  transition: var(--transition);
  box-sizing: border-box;
}
.ut-content-section input[type="text"]:focus,
.ut-content-section input[type="password"]:focus,
.ut-content-section textarea:focus,
.ut-content-section select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

/* All submit buttons */
.ut-content-section input[type="submit"],
.ut-content-section button[type="submit"],
.framebody input[type="submit"] {
  padding: 10px 28px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.ut-content-section input[type="submit"]:hover,
.ut-content-section button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* Cancel/secondary buttons */
.ut-content-section input[type="button"] {
  padding: 10px 28px;
  background: #6c757d;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

/* Radio and checkbox styling */
.ut-content-section input[type="radio"],
.ut-content-section input[type="checkbox"] {
  width: auto;
  max-width: none;
  accent-color: var(--primary);
  cursor: pointer;
}

/* h3 inside content */
.ut-content-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Legacy select/option */
select.inpts {
  appearance: auto;
  -webkit-appearance: auto;
}

/* Line tables (borders) */
table.line, .line {
  background-color: #eee;
}

/* Bold amount links */
.ut-content-section a {
  color: var(--primary);
  font-weight: 500;
}
.ut-content-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Error messages */
.ut-content-section .error,
.ut-content-section div.error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #991b1b;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Success messages */
.ut-content-section .success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #065f46;
  font-size: 13px;
}

/* Generic msg class */
.msg {
  padding: 14px 18px;
  background: #fff3cd;
  border: 1px solid #fbbf24;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  font-size: 13px;
  color: #92400e;
}

/* Form layout helpers */
.ut-content-section table td[class="menutxt"] {
  font-size: 13px;
  padding: 6px 8px;
}

/* Pagination override */
.ut-content-section center a {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 4px;
  background: #eee;
  font-size: 12px;
  color: #333;
  text-decoration: none;
}
.ut-content-section center a:hover {
  background: var(--primary);
  color: #fff;
}

/* ============ RESPONSIVE ============ */
@media(max-width:600px) {
  .ut-hero-content h1 { font-size: 24px; }
  .ut-packages h2 { font-size: 20px; }
  .ut-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .ut-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ut-balance-grid { grid-template-columns: 1fr 1fr; }
  .ut-dash-header { padding: 20px 16px 14px; }
  .ut-content-section { margin: 12px; padding: 18px; }
  .ut-welcome-card { margin: 12px; padding: 18px; }
  .ut-navbar { padding: 10px 16px; }
  .ut-footer { padding: 20px 16px; }
  .ut-content-section table td,
  .ut-content-section table th { padding: 6px 6px; font-size: 12px; }
  .deposit_confirm th, table.form th { width: auto; }
  .ut-content-section input[type="text"],
  .ut-content-section input[type="password"],
  .ut-content-section textarea,
  .ut-content-section select { max-width: 100%; }
  .ut-dash-tabs { margin: 16px 12px 0; }
  .ut-balance-grid { padding: 0 12px; }
}
