/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

[data-auth-target="emailForm"],
[data-auth-target="otpForm"] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border: 1px solid black;
  z-index: 1000;
  display: none;
}

[data-auth-target="emailForm"][style*="display: block"],
[data-auth-target="otpForm"][style*="display: block"] {
  display: block;
}

/* Fonts */
@font-face {
  font-family: 'Inter-Variable';
  src: url("/assets/Inter-Variable-c6876acd.ttf") format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Delius-Regular';
  src: url("/assets/Delius-Regular-8d9c8bad.ttf") format('truetype');
  font-display: swap;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 17px;
  line-height: 17px;
}

/* Body */
body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  font-family: 'Inter-Variable';
  background: #f8f9fb;
  color: #1b1b1b;
  transition: all 0.5s ease;
  padding-bottom: 6rem; /* space for floating footer */
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Delius-Regular';
  color: #a67c00;
  line-height: 2.5rem;
}
h1 {
  font-size: 2.4rem;
  margin: 1.5rem;
}
h2 {
  font-size: 2rem;
  margin: 1.5rem;
}
/* Utility Rows & Columns */
.start-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.end-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.round-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
.end-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.start-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: center;
}

.sparce-row{
  display:flex;
  flex-direction: row;
  justify-content: space-between;
}
.vertical-stretch-row{
  display: flex;
  flex-direction: row;
  justify-content:space-around;
}
.margin-bottom-3{
  margin-bottom: 4rem;
}
.product-name{
  font-family: 'Delius-Regular';
  color: #bf9b30;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  margin-top: 0.8rem;
}
.product-category{
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.product-description{
  /* width: 80%; */
}
.product-price span strong{
  font-size: 2rem;
}
.max-width{
  width: 100%;
}
.intro-content {
  margin: 2rem auto;
  padding: 1rem 0.5rem;
  max-width: 60ch;
  text-align: center;
  /* font-family: 'Delius-Regular'; */
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: #0F2240;
  animation: fadeUpGlass 1.4s ease forwards;

  /* transition for hover effects */
  transition: all 1s ease;
  border-radius: 2rem;
}

/* hover: gentle scale + light shift */


@keyframes fadeUpGlass {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glassmorphic {
  background: rgba(242, 242, 242, 0.15); /* translucent white */
  backdrop-filter: blur(15px); /* actual blur effect */
  -webkit-backdrop-filter: blur(15px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* frosted border */
  border-radius: 1rem; /* rounded edges for softer glass */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* subtle depth */
  padding: 1rem;
}

/* Base Link */
.base-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  margin: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(120deg, rgba(0, 0, 0, 1) 10%, rgba(15, 43, 79, 0.92) 43%);
  border-radius: 0.4rem;
  width: auto;
  color: #3fd99e;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}
.base-link:hover {
  background: linear-gradient(120deg, rgba(15, 43, 79, 1) 10%, rgba(0, 0, 0, 0.92) 43%);
  color: #4be6a8;
  box-shadow: none;
}
.base-link:active {
  transform: scale(0.97);
}
.base-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.4rem;
}
.base-image {
  width: 14rem;
  height: 10rem;
  margin: 0.4rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.base-icon:hover {
  opacity: 0.7;
}

/* Order Total */
.order-total {
  font-size: 20px;
  font-weight: bold;
  margin-top: 4px;
}

/* Page Container */
.page-container {
  width: 95%;
  max-width: 900px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Card Styling */
.card {
  background: #ffffff;
  border-radius: 0.6rem;
  padding: 1rem 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.16);
}
.card h3 {
  margin-bottom: 0.6rem;
  font-size: 2rem;
  color: #0F2240;
}
.card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  line-height: 1.4rem;
}
.grey-gradient{
  border-radius: 1rem;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 30, 0.5) 0%,
    rgba(40, 40, 60, 0.95) 100%
  );
  backdrop-filter: blur(15px); /* actual blur effect */
  -webkit-backdrop-filter: blur(15px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  padding: 0.5rem;
  margin: 0.8rem;
}
.table-row{
  margin: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: white;
  border-radius: 0.4rem;
  width: fit;
  color: #132b4f;
  font-size: 0.9rem;
  font-weight: 400;
  /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8); */
  text-align:center;
}
.table-row-action{
  margin: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(120deg, rgba(0, 0, 0, 1) 10%, rgba(15, 43, 79, 0.92) 43%);
  border-radius: 0.4rem;
  width: fit;
  color: white;
  font-size: 0.9rem;
  font-weight: 400;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  text-align:center;
}
.table-row-action:hover {
  background: linear-gradient(120deg, rgba(15, 43, 79, 1) 10%, rgba(0, 0, 0, 0.92) 43%);
  color: #4be6a8;
  box-shadow: none;
  transform: scale(0.97);
}

.table-column{
  margin: 0.5rem;
}

/* Card structure */
.order-card {
  display: flex;
  flex-direction: column;
}

/* Header */
.order-card-header {
  /* background-color: #132b4f; */
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.order-card-header h3 {
  margin: 0;
  color: #BF9B30; /* Gold */
  font-size: 2rem;
  letter-spacing: 0.5px;
}

/* Body */
.order-card-body {
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Each row */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f2f2f2;
  font-size: 0.95rem;
}

.label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #BF9B30; /* gold labels */
}

.value {
  font-size: 1.1rem;
  text-align: right;
}
.step{
  background: linear-gradient(
    135deg,
    rgba(217, 217, 217, 0.0) 0%,
    rgba(128, 128, 128, 0.65) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border-radius: 1rem;
  padding: 0.5rem;
  margin: 0.8rem;
  display:flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.step-icon {
  width: 4rem;
  /* aspect-ratio: 1.618 / 1; */
  margin-right: 0.4rem;
  margin-top: 1rem;
}
.step-icon:hover {
  opacity: 0.7;
}
.step-arrow{
  height: 2.5rem;
}
.step-arrow:hover{
  opacity: 0.7;
}
.step-description{
  font-family: 'Delius-Regular';
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: bold;
  width: 15ch;
  margin-top: 1rem;
  color: #132b4f;
}
.step-description-2{
  font-family: 'Delius-Regular';
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: bold;
  width: 20ch;
  margin-top: 1rem;
  color: #132b4f;
  text-align: center;
}
.step-row{
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.step-number{
  font-family: 'Delius-Regular';
  font-size: 2rem;
  margin-top: 3rem;
  color: #132b4f;
  /* font-style: oblique; */
}
.step-slash{
  font-family: 'Delius-Regular';
  font-size: 2rem;
  /* margin-top: 1rem; */
  margin: -0.8rem;
  color: #a67c00;
}
.step-slash-2{
  font-family: 'Delius-Regular';
  font-size: 3rem;
  margin-top: 3rem;
  color: #a67c00;
}
.step-insert{
  margin-top: -1rem;
  /* margin-bottom: -1rem; */
}
/* Grouped Row */
.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sub Card (glassmorphic) */
.sub-card {
  flex: 1 1 calc(50% - 1rem);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);

  /* Darker glassmorphic background */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(15, 34, 64, 0.95) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #f8f8f8;
}
.sub-card p {
  margin: 0.35rem 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}
.sub-card strong {
  font-size: 0.8rem;
  color: #3fd99e;
  font-weight: 400;
}

/* Action Row */
.action-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ✅ Keep your button set exactly as-is */
.action-row a,
.action-row form input[type="submit"],
.action-row button {
  all: unset;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(120deg, rgba(0,0,0,1) 10%, rgba(15,34,64,0.92) 43%);
  border-radius: 0.4rem;
  color: #3fd99e;
  font-weight: bold;
  box-shadow: 0 6px 12px rgba(0,0,0,0.8);
  transition: all 0.2s ease;
}
.action-row a:hover,
.action-row form input[type="submit"]:hover,
.action-row button:hover {
  background: linear-gradient(120deg, rgba(15,34,64,1) 10%, rgba(0,0,0,0.92) 43%);
  color: #4be6a8;
  box-shadow: none;
}

/* Footer */
.footer {
  position: fixed;
  width: 100vw;
  bottom: 1vh;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.glass-border{
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.2rem;
  margin-top: 0.5rem;
}
.glassy {
  /* Glass effect */
  /* background: rgba(255, 255, 255, 0.15); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* Optional gradient overlay */
  background-image: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.05)
  );

  /* Aesthetic extras */
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

  /* Size example — remove or customize */
  padding: 1rem;
}


/* Flat Card (Dark glass) */
.flat-bg {
  border-radius: 1rem;
  padding: 0.5rem;
  margin: 1rem 0;

  background: linear-gradient(
    135deg,
    rgba(217, 217, 217, 0.0) 0%,
    rgba(128, 128, 128, 0.65) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.card.flat-bg h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
  /* color: #ffffff; */
}
.card.flat-bg p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: #e0e0e0;
}
.card.flat-bg strong {
  font-weight: 600;
  color: #3fd99e;
}
.card.flat-bg .action-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 1rem;
}
