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

body {
  font-family: Arial, sans-serif;
  background: #f5f4f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #2d2d2d;
}

.ec-header {
  background: #ffffff;
  border-bottom: 3px solid #C9A070;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

.ec-header img {
  height: 90px;
  width: auto;
}

.ec-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ec-nav a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
}

.ec-nav a:hover { color: #1a2535; }

.ec-nav a.active {
  color: #1a2535;
  border-bottom: 2px solid #C9A070;
  font-weight: 500;
}

.ec-nav a.signout {
  color: #C9A070;
  border: 1px solid #C9A070;
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.ec-nav a.signout:hover {
  background: #C9A070;
  color: #fff;
}

.ec-welcome {
  background: #1a2535;
  color: #C9A070;
  padding: 9px 32px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ec-container {
  max-width: 860px;
  margin: 36px auto;
  padding: 0 24px;
  flex: 1;
  width: 100%;
}

.ec-page-title {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #1a2535;
  font-weight: normal;
  margin: 0 0 4px;
}

.ec-page-sub {
  font-size: 13px;
  color: #999;
  margin: 0 0 24px;
}

.ec-tabs {
  display: flex;
  border-bottom: 2px solid #e8e5e0;
  margin-bottom: 28px;
}

.ec-tabs a {
  font-size: 13px;
  padding: 10px 20px;
  color: #999;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  letter-spacing: 0.02em;
}

.ec-tabs a:hover { color: #1a2535; }

.ec-tabs a.active {
  color: #1a2535;
  border-bottom: 2px solid #C9A070;
  font-weight: 500;
}

.acc-item {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-left: 3px solid #C9A070;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

.acc-header:hover { background: #faf9f7; }

.acc-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.acc-time-badge {
  background: #1a2535;
  color: #C9A070;
  font-size: 15px;
  font-family: Georgia, serif;
  padding: 8px 12px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 58px;
  text-align: center;
}

.acc-date {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #1a2535;
  margin-bottom: 3px;
}

.acc-time {
  font-weight: 500;
  color: #1a2535;
  font-size: 13px;
  margin-right: 6px;
}

.acc-passenger {
  font-size: 12px;
  color: #1a2535;
  font-weight: 500;
  margin-bottom: 2px;
}

.acc-summary {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}

.acc-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.countdown {
  background: #f5f0e8;
  color: #C9A070;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.chevron {
  color: #C9A070;
  font-size: 20px;
  transition: transform 0.2s;
  display: inline-block;
  line-height: 1;
}

.chevron.open { transform: rotate(180deg); }

.acc-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid #f0ede8;
}

.acc-body.open { display: block; }

.route {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px;
  margin: 16px 0 14px;
  width: 100%;
}

.route-point {
  flex: 1 !important;
  min-width: 0;
  text-align: left !important;
}

.route-label {
  font-size: 10px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.route-value {
  font-size: 14px;
  color: #1a2535;
}

.route-arrow {
  color: #C9A070;
  font-size: 16px;
  flex-shrink: 0 !important;
  align-self: center !important;
}

.tag {
  display: inline-block;
  background: #f5f0e8;
  color: #C9A070;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 3px;
  margin-right: 4px;
  margin-bottom: 6px;
}

.acc-meta {
  font-size: 12px;
  color: #ccc;
  border-top: 1px solid #f0ede8;
  padding-top: 10px;
  margin-top: 8px;
}

.ec-empty {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  color: #999;
  font-size: 15px;
  line-height: 1.7;
}

.ec-empty a { color: #C9A070; text-decoration: none; }

.ec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e5e0;
}

.ec-table th {
  background: #1a2535;
  color: #C9A070;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ec-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f0ede8;
}

.ec-table tr:last-child td { border-bottom: none; }
.ec-table tr:hover td { background: #faf9f7; }

.ec-table .total-row td {
  font-weight: 500;
  color: #1a2535;
  background: #f5f0e8;
  border-top: 2px solid #C9A070;
}

.stmt-list {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 8px;
  overflow: hidden;
}

.stmt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #f0ede8;
}

.stmt-row:last-child { border-bottom: none; }
.stmt-row:hover { background: #faf9f7; }

.stmt-label {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #1a2535;
}

.stmt-size {
  font-size: 12px;
  color: #bbb;
  margin-top: 3px;
}

.stmt-download {
  background: #1a2535;
  color: #C9A070;
  padding: 8px 20px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.stmt-download:hover { background: #253548; }

.stmt-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.stmt-view {
  background: #f5f0e8;
  color: #C9A070;
  border: 1px solid #C9A070;
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.stmt-view:hover { background: #C9A070; color: #fff; }

.info-box {
  background: #f5f0e8;
  border: 1px solid #e8d9c0;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: #7a6040;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-box a { color: #C9A070; text-decoration: none; }

.ec-login-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.ec-login-card {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.ec-login-title {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #1a2535;
  font-weight: normal;
  margin: 0 0 6px;
}

.ec-login-sub {
  font-size: 13px;
  color: #999;
  margin: 0 0 28px;
  line-height: 1.6;
}

.ec-label {
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.ec-input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 18px;
  background: #faf9f7;
  color: #1a2535;
  font-family: Arial, sans-serif;
}

.ec-input:focus {
  outline: none;
  border-color: #C9A070;
}

.ec-btn {
  width: 100%;
  background: #1a2535;
  color: #C9A070;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-family: Georgia, serif;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.ec-btn:hover { background: #253548; }

.ec-forgot {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

.ec-forgot a { color: #C9A070; text-decoration: none; }

.ec-error {
  background: #fff0f0;
  border: 1px solid #f0cccc;
  color: #cc3333;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 18px;
}

.ec-footer {
  background: #1a2535;
  color: #7a8a9a;
  text-align: center;
  padding: 18px;
  font-size: 12px;
  letter-spacing: 0.03em;
  margin-top: auto;
}

.ec-footer a { color: #C9A070; text-decoration: none; }

@media (max-width: 600px) {
  .ec-header { padding: 0 16px; min-height: 64px; }
  .ec-header img { height: 40px; }
  .ec-container { margin: 20px auto; padding: 0 16px; }
  .acc-right { flex-direction: column; gap: 6px; align-items: flex-end; }
  .acc-time-badge { font-size: 13px; padding: 6px 10px; }
}

.impersonation-bar {
  background: #cc3333;
  color: #fff;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.03em;
}

.impersonation-bar a {
  background: #fff;
  color: #cc3333;
  padding: 5px 14px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
}

.impersonation-bar a:hover { background: #f0f0f0; }

.cal-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cal-btn {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 1px solid;
}

.cal-google {
  background: #fff;
  color: #1a73e8;
  border-color: #1a73e8;
}

.cal-google:hover { background: #e8f0fe; }

.cal-ics {
  background: #fff;
  color: #0078d4;
  border-color: #0078d4;
}

.cal-ics:hover { background: #e8f4fe; }