/* Professional styling for Privacy, Terms, Shipping, and Support pages */

:root {
  --primary-color: #337ebd;
  --secondary-color: #1f466a;
  --accent-color: #337ebd;
  --light-bg: #f8f9fa;
  --border-color: #e1e8ed;
  --text-dark: #333333;
  --text-light: #666666;
}

.page-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 60px 30px;
  text-align: center;
  margin-bottom: 50px;
  border-radius: 0 0 15px 15px;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero p {
  font-size: 1.1rem;
  margin-top: 10px;
  opacity: 0.95;
  color: white;
}

.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
}

.content-section h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 400;
  margin-top: 25px;
  margin-bottom: 15px;
}

.content-section p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: 400;
}

.content-section ul,
.content-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-section li {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  list-style-type: disc;
  list-style-position: inside;
}

.content-section ol li {
  list-style-type: decimal;
}

.highlight-box {
  background-color: #e8f4f8;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 25px 0;
  border-radius: 5px;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--secondary-color);
  font-weight: 500;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.info-table thead {
  background-color: var(--secondary-color);
  color: white;
}

.info-table th {
  padding: 18px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}

.info-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.95rem;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tbody tr:hover {
  background-color: var(--light-bg);
  transition: background-color 0.3s ease;
}

.contact-info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.contact-card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 12px rgba(10, 108, 175, 0.15);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.contact-card p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.address-box {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  margin: 30px 0;
}

.address-box h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.address-box p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 5px;
}

strong {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero {
    padding: 40px 20px;
    margin-bottom: 30px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .content-wrapper {
    padding: 25px;
    border-radius: 8px;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .content-section h3 {
    font-size: 1.1rem;
  }

  .contact-info-box {
    grid-template-columns: 1fr;
  }

  .info-table {
    font-size: 0.9rem;
  }

  .info-table th,
  .info-table td {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .content-wrapper {
    padding: 18px;
  }

  .content-section h2 {
    font-size: 1.3rem;
  }

  .contact-card {
    padding: 18px;
  }

  .content-section ul,
  .content-section ol {
    margin-left: 15px;
  }
}

/* Print styles */
@media print {
  .page-hero {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
  }

  .page-hero h1 {
    color: var(--secondary-color);
    text-shadow: none;
  }

  .content-wrapper {
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
}

/* Active styling for the existing legal/support page markup */
* {
  box-sizing: border-box;
}

html {
  background: #f4f7f8;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #1f2a2e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(51, 126, 189, 0.14), transparent 34rem),
    linear-gradient(180deg, #f7fbfa 0%, #eef3f2 42%, #f6f7f4 100%);
}

body::before {
  content: "";
  display: block;
  height: 10px;
  background: linear-gradient(90deg, #1f466a, #337ebd, #6da7d8);
}

body > .container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 48px 22px 70px;
}

.go-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 0 18px;
  padding: 10px 18px;
  border: 1px solid rgba(51, 126, 189, 0.35);
  border-radius: 8px;
  color: #337ebd;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(31, 70, 106, 0.08);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.go-back-button:hover {
  color: #ffffff;
  border-color: #337ebd;
  background: #337ebd;
}

.bottom-home-button {
  margin-top: 14px;
  margin-bottom: 0;
}

.home-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(26px, 4vw, 56px);
  border: 1px solid rgba(51, 126, 189, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(31, 70, 106, 0.12);
}

.home-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 145px;
  background: linear-gradient(135deg, rgba(51, 126, 189, 0.1), rgba(109, 167, 216, 0.08));
  pointer-events: none;
}

.row,
.col-md-12 {
  position: relative;
  width: 100%;
}

.padding-60 {
  padding: 0;
}

.prov-h1,
.prov-h2[style*="text-align: center"] {
  position: relative;
  margin: 0 0 42px;
  padding: 0 0 24px;
  color: #1f466a;
  font-size: clamp(2.1rem, 4.2vw, 4rem) !important;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: left !important;
}

.prov-h1::after,
.prov-h2[style*="text-align: center"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 84px;
  height: 5px;
  border-radius: 999px;
  background: #337ebd;
}

.prov-h2 {
  position: relative;
  margin: 42px 0 18px;
  padding: 0 0 12px;
  color: #1f466a;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.prov-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: #337ebd;
}

.prov-p,
.home-frame li {
  max-width: 84ch;
  margin: 0 0 16px;
  color: #304144;
  font-size: 1rem;
  line-height: 1.75;
}

.margin-t50 {
  margin-top: 18px !important;
}

.margin-b50 {
  margin-bottom: 30px !important;
}

.home-frame ul {
  max-width: 84ch;
  margin: 10px 0 30px;
  padding: 18px 22px 18px 42px;
  border-left: 4px solid #337ebd;
  border-radius: 8px;
  background: #f3f8fc;
}

.home-frame li {
  margin-bottom: 8px;
}

.home-frame a {
  color: #337ebd;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(51, 126, 189, 0.35);
  text-underline-offset: 3px;
}

.home-frame a:hover {
  color: #1f466a;
  text-decoration-color: currentColor;
}

.home-frame strong,
.home-frame b {
  color: #1f466a;
}

.prov-blue-no {
  color: #337ebd;
  font-weight: 400;
}

.indent-sec {
  padding: 18px 22px;
  border-radius: 8px;
  background: #f7f8f4;
  border: 1px solid #e6e5dc;
}

.prov-rom-no {
  display: inline;
}

table {
  width: 100% !important;
  max-width: 820px;
  height: auto !important;
  margin-top: 10px;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(31, 70, 106, 0.12);
}

td {
  width: auto !important;
  height: auto !important;
  padding: 24px !important;
  border: 0 !important;
  border-bottom: 1px solid #e4ece9 !important;
  color: #2d3d40;
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: 0 !important;
}

td:first-child {
  background: #f3f8fc;
}

td div,
td a {
  white-space: normal;
  word-break: break-word;
}

td a {
  display: inline-block;
  color: #337ebd;
  font-size: 1.08rem;
}

#footer {
  margin-top: 32px;
}

@media (max-width: 760px) {
  body > .container {
    padding: 26px 12px 44px;
  }

  .home-frame {
    padding: 26px 18px;
  }

  .go-back-button {
    width: 100%;
    margin-bottom: 14px;
  }

  .prov-h1,
  .prov-h2[style*="text-align: center"] {
    margin-bottom: 32px;
  }

  .prov-p,
  .home-frame li {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100% !important;
  }

  tr {
    border-bottom: 1px solid #e4ece9;
  }

  tr:last-child {
    border-bottom: 0;
  }

  td {
    padding: 18px !important;
    border-bottom: 0 !important;
  }

  td:first-child {
    padding-bottom: 10px !important;
  }

  td + td {
    padding-top: 10px !important;
  }
}
