/* ========================= */
/* 🌿 COMMON AUTH STYLING */
/* ========================= */

body {
  background: #d6cdc2;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================= */
/* 🧾 CARD (Login + Register) */
/* ========================= */

.auth-card {
  background: #f5f1ea;
  border-radius: 40px;
  padding: 30px 28px;
  /* compact */
  width: 100%;
  max-width: 380px;
  /* perfect size */
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
}

/* Input group ko proper rounded banane ke liye */
.input-group .form-control {
  border-radius: 30px 0 0 30px;
}

.eye-btn {
  border-radius: 0 30px 30px 0;
  border-left: none;
}

/* Button aur input height same */
.input-group .form-control,
.input-group .eye-btn {
  height: 45px;
}

/* Eye button clean look */
.eye-btn {
  background: transparent;
  border: 1px solid #ced4da;
}

.eye-btn:hover {
  background: #eee;
}

/* ========================= */
/* 🔘 BUTTONS */
/* ========================= */

.btn-theme {
  background: #8b5e3c;
  color: white;
  border-radius: 30px;
  padding: 10px;
}

.btn-theme:hover {
  background: #6f472d;
  color: white;
}

/* ========================= */
/* ✏️ INPUTS */
/* ========================= */

.form-control {
  border-radius: 30px;
  padding-left: 15px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #8b5e3c;
}

/* ========================= */
/* 🔗 LINKS */
/* ========================= */

a {
  color: #8b5e3c;
  text-decoration: none;
}

a:hover {
  color: #6f472d;
}

/* ========================= */
/* 👁️ REMOVE DEFAULT EYE */
/* ========================= */

/* Edge / IE */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

/* Chrome / Safari / Edge */
input[type="password"]::-webkit-textfield-decoration-container,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-password-toggle-button {
  display: none !important;
}

/* Extra controls */
input::-webkit-clear-button,
input::-webkit-inner-spin-button {
  display: none;
}

/* Force clean input */
input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
}

/* Rare Chrome case */
input[type="password"]::-webkit-contacts-auto-fill-button {
  display: none !important;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 25px 20px;
    max-width: 90%;
  }
}

/* ========================= */
/* 👤 PROFILE PAGE STYLING */
/* ========================= */

/* Glass Effect Profile Card */
.profile-card {
  width: 100%;
  max-width: 380px;
  padding: 30px 28px;
  border-radius: 40px;

  /* Glass effect */
  background: rgba(245, 241, 234, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);

  transition: 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
}

/* Profile Icon */
.profile-icon {
  font-size: 65px;
  color: #8b5e3c;
}

/* Welcome Text */
.welcome-text {
  font-size: 20px;
  font-weight: 600;
  color: #5a3d2b;
}

/* Profile Info */
.profile-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Optional: Make buttons same rounded */
.profile-card .btn {
  border-radius: 30px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .profile-card {
    padding: 25px 20px;
    max-width: 90%;
  }
}

/* ========================= */
/* 📦 ORDERS PAGE (GLASS UI) */
/* ========================= */

.orders-card {
  width: 100%;
  max-width: 600px;
  padding: 30px 28px;
  border-radius: 40px;

  /* Glass effect */
  background: rgba(245, 241, 234, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Each order box */
.order-box {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 20px;
}

/* Table styling */
.order-box table {
  margin-bottom: 0;
}

.order-box th {
  font-size: 14px;
  color: #5a3d2b;
}

.order-box td {
  font-size: 13px;
}

/* Order title */
.order-title {
  font-weight: 600;
  color: #8b5e3c;
}

/* Total */
.order-total {
  font-weight: bold;
  text-align: right;
  color: #6f472d;
}
