@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: Roboto, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#container {
  margin: 0 auto;
  text-align: center;
  flex: 1;
  width: 100%;
}

.clearfix {
  clear: both;
}

.user-info {
  border: 1px solid #ddd;
  clear: both;
  margin: 0 auto 20px;
  max-width: 400px;
  padding: 10px;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.email-verify {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#photo-container {
  background-color: #eee;
  border: 1px solid #ccc;
  float: left;
  height: 80px;
  margin-right: 10px;
  width: 80px;
  border-radius: 50dvh;
}

#photo {
  height: 80px;
  margin: 0;
  width: 80px;
  border-radius: 50dvh;
}

@media (max-width: 300px) {
  #photo-container,
  #photo {
    height: 40px;
    width: 40px;
  }
}

.task {
  margin-bottom: 15px;
}

.btn {
  background: linear-gradient(90deg, #0078d4, #005a9e);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 180px;
  box-shadow: 0 5px 15px rgba(0, 120, 212, 0.4);
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background: linear-gradient(90deg, #005a9e, #0078d4);
}

.btn:disabled {
  background: linear-gradient(90deg, #d3d3d3, #a9a9a9);
  color: #7a7a7a;
  cursor: not-allowed;
  box-shadow: none;
}

#modify-plan,
#buy-payasyougo {
  margin: 0.5em auto;
}

.param-container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  margin-top: 20px;
  text-align: left;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 1.5rem;
}

.param-container-label {
  font-size: 1rem;
  color: #005a9e;
  left: 0.5rem;
  position: absolute;
  top: -0.9rem;
  padding: 0.2rem 1rem;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 50dvh;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.line-container {
  display: flex;
  margin: -0.2em auto;
  min-width: 100%;
  font-family: monospace;
  font-size: 14px;
}

.param-name {
  flex: 0 0 50%;
  text-align: right;
  font-weight: bold;
  padding: 8px;
  margin: auto;
}

.param-value {
  flex: 0 0 50%;
  text-align: left;
  padding: 8px;
  margin: auto;
}

.token-container {
  margin-top: 20px;
  text-align: left;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.token-display {
  margin-bottom: 10px;
  font-family: monospace;
  font-size: 14px;
  word-break: break-all;
}

#verify-account {
  margin-top: 1em;
}

.load-img {
  height: 0.9em;
}

.goBack {
  position: absolute;
  top: 16px;
  left: 20px;
  text-align: left;
  color: #0078d4;
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 16px;
}

.dialog-container {
  border: 1px solid #ccc;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dialog-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-container {
  display: flex;
  justify-content: space-evenly;
  gap: 1em;
}

dialog p {
  margin: 0.5em 0.5em 2em;
}

.highlighted-text-shadow {
  font-size: 16pt;
}

@layer demo {
  .highlighted-text-shadow {
    text-shadow:
      0 0.15ch 15px var(--shadow),
      0 -2px 0 var(--highlight);
  }
}

@layer demo.support {
  :root {
    --hue: 320;
    --bg: oklch(35% 0.3 var(--hue));
    --text: oklch(85% 0.1 var(--hue));
    --shadow: oklch(25% 0.2 var(--hue));
    --highlight: oklch(98% 0.05 var(--hue));
  }
}

dialog {
  position: relative;
}

.close-btn {
  border: 0;
  background-color: white;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  scale: 1;
}

.close-btn:hover {
  scale: 1.1;
}

.pricing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 60px;
}

.toggle-wrapper {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.billing-toggle-container {
  background-color: #f0f2f5;
  border-radius: 50px;
  padding: 4px;
  display: inline-flex;
  border: 1px solid #e1e4e8;
}

.toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 40px;
  color: #666;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background-color: #0078d4;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.discount-badge {
  background-color: #e500d0;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 12px;
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 5px rgba(229, 0, 208, 0.3);
}

.discount-badge::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 4px solid #e500d0;
}

.pricing-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  padding: 40px 30px 30px;
  width: 320px;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #0078d4;
}

.price-card.popular {
  border: 2px solid #0078d4;
  background-color: #fdfdfd;
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0078d4;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 120, 212, 0.2);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #f5f5f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-circle img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.card-header h3 {
  margin: 10px 0 5px;
  font-size: 1.4rem;
  color: #222;
}

.card-header .desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 3em;
}

.card-price {
  margin-bottom: 25px;
  color: #222;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.price-row {
  display: flex;
  align-items: flex-start;
}

.card-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 6px;
}

.card-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.price-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 8px;
}

.card-price .period {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.old-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: #999;
  margin-bottom: -2px;
}

.old-price.hidden {
  display: none;
}

.card-features {
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-features p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #444;
}

.card-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
}

.card-features li:last-child {
  border-bottom: none;
}

.card-features li b {
  color: #000;
  margin: 0 4px;
}

.card-features .check {
  color: white;
  background: #2ecc71;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  margin-right: 12px;
  flex-shrink: 0;
}

.subscribe-btn {
  width: 100%;
  margin: 0;
  font-weight: 600;
  padding: 12px;
}

.subscribe-btn.outline {
  background: transparent;
  color: #0078d4;
  border: 2px solid #0078d4;
  box-shadow: none;
}

.subscribe-btn.outline:hover {
  background: #0078d4;
  color: white;
}

.btn-current-plan {
  background: #e1dfdd !important;
  color: #605e5c !important;
  border: 1px solid #c8c6c4;
  cursor: default;
  box-shadow: none;
}

.link-action {
  background: none;
  border: none;
  color: #605e5c;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px 10px;
  margin-top: 0;
  transition: all 0.2s ease;
  box-shadow: none;
  width: auto;
}

.link-action:hover {
  color: #d13438;
  background: none;
  text-decoration: underline;
}

.link-action:disabled {
  color: #a19f9d;
  cursor: wait;
  text-decoration: none;
}

.dashboard-footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
  color: #777;
  font-size: 0.9rem;
}

.dashboard-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.dashboard-footer a {
  color: #0078d4;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.dashboard-footer a:hover {
  text-decoration: underline;
}

.billing-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  width: 100%;
}

/* .billing-links.hidden {
  display: none;
} */

#update-payment {
  color: #0078d4;
}

#update-payment:hover {
  color: #005a9e;
}

#cancel-subscription {
  font-size: 0.85rem;
  color: #605e5c;
  margin-top: 5px;
}

#cancel-subscription:hover {
  color: #d13438;
}

#subscription.param-container {
  padding-bottom: 20px;
}

.hidden {
  display: none;
}
