/* =============================================
   ニックナック 商品発注管理システム - Modern Style
   ============================================= */

/* CSS Variables */
:root {
  --primary: #FF6B35;
  --primary-light: #FF8C5A;
  --primary-dark: #E55A2B;
  --secondary: #2D3748;
  --accent: #48BB78;
  --warning: #ED8936;
  --danger: #E53E3E;
  --info: #4299E1;
  
  --bg-main: #F7FAFC;
  --bg-white: #FFFFFF;
  --bg-light: #EDF2F7;
  --bg-card: #FFFFFF;
  
  --text-primary: #2D3748;
  --text-secondary: #718096;
  --text-muted: #A0AEC0;
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  --border-light: #EDF2F7;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Layout */
#outLine {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
  background: var(--bg-main);
}

/* =============================================
   Header Navigation
   ============================================= */
#menu {
  margin: 0 -20px 24px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow-md);
}

#menu-table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  padding: 0;
}

#menu-table td {
  border: none;
  padding: 0;
  background: transparent;
}

/* Logo/Title */
#menu-td-title-center {
  background: rgba(255,255,255,0.15);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* System Header for Login Page */
.system-header {
  margin: 0 -20px 32px;
  padding: 28px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.system-header h1 {
  color: var(--text-white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}

.system-header h1 .brand {
  display: block;
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.system-header h1 .sub {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.9;
}

#menu-td-title-right {
  width: 20px;
  background: transparent;
}

/* Navigation Items */
#menu-td-left,
#menu-td-right,
#menu-td-mainte-left,
#menu-td-mainte-right {
  display: none;
}

#menu-td-center,
#menu-td-mainte-center {
  background: transparent;
  padding: 0;
}

#menu-td-center a,
#menu-td-mainte-center a {
  display: block;
  color: var(--text-white);
  padding: 16px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

#menu-td-center a:hover,
#menu-td-mainte-center a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-white);
}

/* Admin Menu Separator */
#menu-td-line {
  width: 1px;
  background: rgba(255,255,255,0.3);
  padding: 0;
}

/* Admin Menu Items */
#menu-td-mainte-center {
  background: rgba(0,0,0,0.1);
}

#menu-td-mainte-center a {
  font-size: 12px;
  padding: 16px 12px;
}

/* Underline (hidden in new design) */
#menu-td-under {
  display: none;
}

/* =============================================
   User Box
   ============================================= */
#user-box {
  margin-bottom: 20px;
}

#table-user-box {
  width: 100%;
  border: none;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px 24px;
}

#table-user-box td {
  border: none;
  padding: 0;
  vertical-align: middle;
}

#td-user-box-01 {
  text-align: left;
}

#td-user-box-02 {
  text-align: right;
}

#td-user-box-02 a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.2s ease;
}

#td-user-box-02 a:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

#user {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* =============================================
   Messages
   ============================================= */
#massage {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  padding: 16px;
  margin-bottom: 20px;
  background: #FFF5F0;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

#massage:empty {
  display: none;
}

/* =============================================
   Form Elements
   ============================================= */
input[type="text"],
input[type="password"],
select,
textarea {
  font-family: var(--font-main);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

input[type="file"] {
  font-family: var(--font-main);
  font-size: 13px;
  padding: 8px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

input[type="file"]:hover {
  border-color: var(--primary);
  background: #FFF5F0;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

label {
  cursor: pointer;
  user-select: none;
}

/* Buttons */
input[type="submit"],
input[type="button"] {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--secondary);
  color: var(--text-white);
}

input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

input[type="submit"]:active,
input[type="button"]:active {
  transform: translateY(0);
}

/* Primary Buttons */
#btn-fix,
#btn-fix-send,
#btn-picking,
#btn-reg,
#btn-reg-user,
#btn-reg-catalog,
#btn-reg-catalog-series,
#btn-reg-info,
#btn-reg-stockUp,
#btn-reg-itemLump,
#btn-new {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
}

#btn-fix:hover,
#btn-fix-send:hover,
#btn-picking:hover,
#btn-reg:hover,
#btn-reg-user:hover,
#btn-reg-catalog:hover,
#btn-reg-catalog-series:hover,
#btn-reg-info:hover,
#btn-reg-stockUp:hover,
#btn-reg-itemLump:hover,
#btn-new:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Secondary Buttons */
#btn-search,
#btn-upd,
#btn-order-back,
#btn-order-histry-back,
#btn-orderDetail,
#btn-print {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

#btn-search:hover,
#btn-upd:hover,
#btn-order-back:hover,
#btn-order-histry-back:hover,
#btn-orderDetail:hover,
#btn-print:hover {
  background: var(--border-color);
}

/* Success Buttons */
#btn-orderGet {
  background: var(--accent);
  color: var(--text-white);
}

#btn-orderGet:hover {
  background: #38A169;
}

/* Danger Buttons */
#btn-del,
#btn-orderCancel,
#btn-order-clear {
  background: #FED7D7;
  color: var(--danger);
}

#btn-del:hover,
#btn-orderCancel:hover,
#btn-order-clear:hover {
  background: var(--danger);
  color: var(--text-white);
}

#btn-fix {
  min-width: 180px;
}

#btn-fix-send {
  min-width: 100px;
}

#btn-print {
  min-width: 100px;
}

/* =============================================
   Search Area
   ============================================= */
#search {
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

/* Search Container - New Card Layout */
.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.search-card {
  flex: 1;
  min-width: 280px;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.search-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.search-card:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background: #FFF5F0;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-card-header:hover {
  background: var(--bg-light);
}

.search-card:has(input[type="radio"]:checked) .search-card-header {
  background: var(--primary);
}

.search-card:has(input[type="radio"]:checked) .radio-label {
  color: var(--text-white);
}

.radio-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.search-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.search-field {
  flex: 1;
  min-width: 140px;
}

.search-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-field-input {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-field-input input[type="text"] {
  flex: 1;
  min-width: 60px;
}

.search-field-input input[type="text"].short {
  flex: 0 0 50px;
  min-width: 50px;
}

.search-field-input input[type="text"].wide {
  min-width: 140px;
}

.search-field-input .separator {
  color: var(--text-muted);
  font-weight: 500;
}

.search-field-input select {
  width: 100%;
}

.search-field-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.search-action {
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

.search-action #btn-search {
  padding: 14px 32px;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  border: none;
}

.search-action #btn-search:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Legacy fieldset styles (for other pages) */
#search fieldset {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 16px 16px 0;
  background: var(--bg-light);
}

#search legend {
  padding: 4px 12px;
  font-weight: 600;
  color: var(--text-primary);
}

#table-search,
#table-histry-search {
  width: 100%;
  border: none;
}

#table-search td,
#table-histry-search td,
#td-search,
#td-histry-search {
  border: none;
  padding: 8px 12px 8px 0;
  vertical-align: middle;
  color: var(--text-secondary);
  font-size: 13px;
}

/* =============================================
   Login Area
   ============================================= */
#login {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: none;
}

#table-login {
  width: 100%;
  border: none;
}

#table-login tr,
#table-login td,
#tr-login,
#td-login-1,
#td-login-2,
#td-login-3 {
  border: none;
  padding: 12px 8px;
}

#td-login-1 {
  text-align: right;
  font-weight: 500;
  color: var(--text-secondary);
  width: 110px;
}

#td-login-2,
#td-login-3 {
  text-align: left;
}

#td-login-2 input[type="text"],
#td-login-2 input[type="password"] {
  width: 100%;
}

#td-login-3 input[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* =============================================
   Caution Area
   ============================================= */
#caution {
  margin: 24px 0;
  padding: 16px 20px;
  background: #FFFBEB;
  border-radius: var(--radius);
  border-left: 4px solid var(--warning);
  color: #92400E;
  font-size: 13px;
  line-height: 1.8;
}

#caution:empty {
  display: none;
}

/* =============================================
   Tables - General
   ============================================= */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  text-align: left;
}

th {
  background: var(--secondary);
  color: var(--text-white);
  font-weight: 600;
  font-size: 13px;
  text-transform: none;
}

/* =============================================
   Data Lists
   ============================================= */
#list {
  margin: 24px 0;
}

#table-list,
#table-mainte-list,
#table-list-stock,
#table-list-orderHistry,
#table-list-user,
#table-list-catalog {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Table Headers */
#table-list th,
#table-mainte-list th,
#table-list-stock th,
#table-list-orderHistry th,
#table-list-user th,
#table-list-catalog th {
  background: linear-gradient(135deg, var(--secondary) 0%, #4A5568 100%);
  color: var(--text-white);
  font-weight: 600;
  font-size: 13px;
  padding: 14px 16px;
  border: none;
  border-bottom: 2px solid var(--primary);
}

/* Alternating Row Colors - Pink rows */
#td-list-01, #td-list-02, #td-list-03, #td-list-04, #td-list-05, 
#td-list-06, #td-list-07, #td-list-08, #td-list-001, #td-list-002 {
  background: var(--bg-white);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
}

/* Alternating Row Colors - Cyan rows */
#td-list-11, #td-list-12, #td-list-13, #td-list-14, #td-list-15, 
#td-list-16, #td-list-17, #td-list-18, #td-list-101, #td-list-102 {
  background: var(--bg-light);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
}

/* Text alignments */
#td-list-01, #td-list-02, #td-list-04, #td-list-05,
#td-list-11, #td-list-12, #td-list-14, #td-list-15,
#td-list-001, #td-list-002, #td-list-101, #td-list-102 {
  text-align: center;
}

#td-list-03, #td-list-06, #td-list-07,
#td-list-13, #td-list-16, #td-list-17 {
  text-align: left;
}

#td-list-08, #td-list-18 {
  text-align: right;
  font-weight: 500;
}

/* Total Row */
#td-total-label {
  background: var(--bg-light);
  font-weight: 700;
  text-align: right;
  padding: 16px;
  border: none;
  border-top: 2px solid var(--border-color);
  font-size: 14px;
}

#td-total {
  background: var(--bg-light);
  font-weight: 700;
  text-align: right;
  padding: 16px;
  border: none;
  border-top: 2px solid var(--border-color);
  font-size: 16px;
  color: var(--primary);
}

/* NEW Badge */
#new_mark {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, #E53E3E 0%, #F56565 100%);
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   Order Summary
   ============================================= */
#order-sum {
  margin: 20px 0 24px;
}

#table-order-sum,
#table-order-info {
  margin-left: auto;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#td-order-sum-01, #td-order-sum-02, #td-order-sum-03, 
#td-order-sum-04, #td-order-sum-05, #td-order-sum-06,
#td-order-info-01, #td-order-info-02, #td-order-info-03, #td-order-info-04 {
  background: var(--bg-white);
  border: none;
  padding: 14px 20px;
  font-weight: 500;
}

#td-order-sum-05 {
  font-size: 14px;
  color: var(--text-secondary);
}

#td-order-sum-06 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

#td-order-info-01, #td-order-info-03 {
  color: var(--text-secondary);
  background: var(--bg-light);
}

/* =============================================
   Fix Area (Action buttons)
   ============================================= */
#fix {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

#fix p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 13px;
}

#order-back {
  margin-right: auto;
}

/* =============================================
   Catalog Info
   ============================================= */
#catalog {
  margin: 20px 0;
  padding: 16px 20px;
  background: #EBF8FF;
  border-radius: var(--radius);
  border-left: 4px solid var(--info);
  color: var(--text-primary);
  font-size: 14px;
}

#catalog a {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 12px;
  background: var(--info);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-size: 12px;
  transition: all 0.2s ease;
}

#catalog a:hover {
  background: #3182CE;
  color: var(--text-white);
}

#catalogpage a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--info);
  color: var(--text-white);
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s ease;
}

#catalogpage a:hover {
  background: #3182CE;
  color: var(--text-white);
  transform: translateY(-1px);
}

/* =============================================
   New Item Button
   ============================================= */
#new-item {
  margin: 20px 0;
  text-align: right;
}

/* =============================================
   Comment Area
   ============================================= */
#comment {
  margin: 24px 0;
}

#comment_label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

#comment textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
}

/* =============================================
   Maintenance Areas
   ============================================= */
#mainte-catalog,
#mainte-catalog-series,
#mainte-stockUp,
#mainte-itemLump,
#mainte-user,
#mainte-item-detail,
#mainte-info {
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

/* Maintenance Tables */
#table-reg-mainte-catalog,
#table-reg-mainte-stockUp,
#table-reg-mainte-itemLump,
#table-reg-mainte-user,
#table-mainte-item-detail,
#table-reg-mainte-info {
  width: 100%;
  border: none;
}

#td-reg-mainte-catalog,
#td-reg-mainte-stockUp,
#td-reg-mainte-itemLump,
#td-reg-mainte-user,
#td-reg-mainte-user-l,
#td-mainte-item-detail,
#td-mainte-item-detail-l,
#td-reg-mainte-info,
#td-reg-mainte-info-l {
  border: none;
  padding: 10px 12px;
  vertical-align: middle;
}

#td-reg-mainte-user-l,
#td-mainte-item-detail-l,
#td-reg-mainte-info-l {
  text-align: right;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* =============================================
   Order History List
   ============================================= */
#td-list-orderHistry-01, #td-list-orderHistry-02, #td-list-orderHistry-03,
#td-list-orderHistry-04, #td-list-orderHistry-05, #td-list-orderHistry-06 {
  background: var(--bg-white);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  text-align: center;
}

#td-list-orderHistry-11, #td-list-orderHistry-12, #td-list-orderHistry-13,
#td-list-orderHistry-14, #td-list-orderHistry-15, #td-list-orderHistry-16 {
  background: var(--bg-light);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  text-align: center;
}

/* Cancelled rows */
#td-list-orderHistry-21, #td-list-orderHistry-22, #td-list-orderHistry-23,
#td-list-orderHistry-24, #td-list-orderHistry-25, #td-list-orderHistry-26 {
  background: #F7FAFC;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  text-align: center;
  color: var(--text-muted);
}

#td-list-orderHistry-04, #td-list-orderHistry-14, #td-list-orderHistry-24 {
  text-align: left;
}

/* =============================================
   Stock List
   ============================================= */
#td-list-stock-01, #td-list-stock-02, #td-list-stock-03,
#td-list-stock-04, #td-list-stock-05 {
  background: var(--bg-white);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
}

#td-list-stock-11, #td-list-stock-12, #td-list-stock-13,
#td-list-stock-14, #td-list-stock-15 {
  background: var(--bg-light);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
}

#td-list-stock-01, #td-list-stock-02, #td-list-stock-04, #td-list-stock-05,
#td-list-stock-11, #td-list-stock-12, #td-list-stock-14, #td-list-stock-15 {
  text-align: center;
}

#td-list-stock-03, #td-list-stock-13 {
  text-align: left;
}

/* =============================================
   User List
   ============================================= */
#td-list-user-01, #td-list-user-02, #td-list-user-03, 
#td-list-user-04, #td-list-user-05, #td-list-user-06,
#td-list-user-07, #td-list-user-08, #td-list-user-09 {
  background: var(--bg-white);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 16px;
}

#td-list-user-11, #td-list-user-12, #td-list-user-13, 
#td-list-user-14, #td-list-user-15, #td-list-user-16,
#td-list-user-17, #td-list-user-18, #td-list-user-19 {
  background: var(--bg-light);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 16px;
}

#td-list-user-02, #td-list-user-04, #td-list-user-05, #td-list-user-07, #td-list-user-08,
#td-list-user-12, #td-list-user-14, #td-list-user-15, #td-list-user-17, #td-list-user-18 {
  text-align: center;
}

/* =============================================
   Catalog List
   ============================================= */
#td-list-catalog-01, #td-list-catalog-02, #td-list-catalog-03 {
  background: var(--bg-white);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  text-align: center;
}

#td-list-catalog-11, #td-list-catalog-12, #td-list-catalog-13 {
  background: var(--bg-light);
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  text-align: center;
}

/* =============================================
   Info List
   ============================================= */
#div-list-info {
  margin-bottom: 20px;
}

#table-list-info {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#th-list-info-01 {
  background: linear-gradient(135deg, var(--secondary) 0%, #4A5568 100%);
  color: var(--text-white);
  border: none;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}

#th-list-info-02 {
  background: linear-gradient(135deg, var(--secondary) 0%, #4A5568 100%);
  color: rgba(255,255,255,0.8);
  border: none;
  padding: 14px 20px;
  text-align: right;
  font-weight: 400;
  font-size: 12px;
}

#td-list-info-01 {
  background: var(--bg-white);
  border: none;
  padding: 20px;
  line-height: 1.8;
  color: var(--text-primary);
}

/* =============================================
   Footer
   ============================================= */
hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 40px 0 20px;
}

#fooder {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 1024px) {
  #menu-table {
    display: flex;
    flex-wrap: wrap;
  }
  
  #menu-td-title-center {
    width: 100%;
    text-align: center;
  }
  
  #menu-td-center a,
  #menu-td-mainte-center a {
    padding: 12px 10px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  #outLine {
    padding: 0 12px 24px;
  }
  
  #fix {
    flex-direction: column;
    align-items: stretch;
  }
  
  #fix input[type="submit"] {
    width: 100%;
  }
  
  #order-back {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* =============================================
   Maintenance Page Styles
   ============================================= */
.maintenance-container {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.maintenance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 100%);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--primary);
}

.maintenance-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.maintenance-message {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 32px;
}

.maintenance-schedule {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.maintenance-schedule h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.maintenance-time {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.maintenance-time .date {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.maintenance-time .time {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.maintenance-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 32px;
}

.maintenance-contact {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.maintenance-contact h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.maintenance-contact .contact-company {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.maintenance-contact .contact-info {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.maintenance-contact .contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.maintenance-contact .contact-info a:hover {
  text-decoration: underline;
}

.maintenance-button {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.maintenance-button:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =============================================
   Print Styles
   ============================================= */
@media print {
  #menu,
  #fix input[type="submit"],
  #btn-print {
    display: none !important;
  }
  
  body {
    background: white;
  }
  
  #outLine {
    max-width: 100%;
  }
  
  * {
    box-shadow: none !important;
  }
}
