@import url(https://fonts.googleapis.com/css2?family=Raleway:100&display=swap);
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: var(--toastify-toast-top);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: var(--toastify-toast-top);
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: var(--toastify-toast-bottom);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: var(--toastify-toast-bottom);
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  width: var(--toastify-toast-width);
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: var(--toastify-toast-padding);
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: var(--toastify-toast-shadow);
  max-height: var(--toastify-toast-max-height);
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: var(--toastify-toast-width);
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: var(--toastify-color-dark);
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: var(--toastify-text-color-info);
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: var(--toastify-text-color-success);
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: var(--toastify-text-color-warning);
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: var(--toastify-text-color-error);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: unset;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
Base Styles and Variables
========================================================================== */
:root {
--spacing-unit: clamp(0.5rem, 2vw, 1rem);
--container-width: clamp(300px, 90%, 1200px);
--border-radius: clamp(4px, 1vw, 8px);
--font-size-base: clamp(14px, 1.5vw, 16px);
--font-size-large: clamp(18px, 2vw, 24px);
--font-size-small: clamp(12px, 1.2vw, 14px);
}

/* ===================================================
styles/confirmation-dialog.css 
======================================================*/
/* Fullscreen dark overlay */
.confirmation-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Dialog content box */
.dialog-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 380px;
    text-align: center;
    animation: popIn 0.3s ease-out;
}

/* Heading */
.dialog-content h3 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}

/* Message */
.dialog-content p {
  font-size: 16px;
  color: #555;
  margin: 16px 0;
}

/* Button container */
.dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

/* Common button style */
.dialog-buttons .btn {
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Cancel button style */
.cancel-btn {
  background-color: #e0e0e0;
  color: #333;
  transition: background-color 0.2s ease-in-out;
}

.cancel-btn:hover {
  background-color: #ccc;
}

/* Confirm button style */
.confirm-btn {
  background-color: #008060;
  color: #fff;
  transition: background-color 0.2s ease-in-out;
}

.confirm-btn:hover {
  background-color: #00694d;
}

/* Animation for smooth entry */
@keyframes popIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.spinner {
border: 3px solid #f3f3f3;
border-top: 3px solid #3498db;
border-radius: 50%;
width: 15px;
height: 15px;
animation: spin 0.9s linear infinite;
display: inline-block;
margin-right: 8px;
vertical-align: middle;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.circular-progress {
display: flex;
justify-content: center;
margin-top: 15px;
}

.progress-circle {
width: 60px;
height: 60px;
border-radius: 50%;
border: 6px solid #eee;
border-top-color: #4CAF50;
animation: spin 1s linear infinite;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: #4CAF50;
font-size: 14px;
position: relative;
}

@keyframes spin {
to {
  transform: rotate(360deg);
}
}
.spinner-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 6px solid #ccc;
  border-top-color: #4CAF50;
  animation: spin 1s linear infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #4CAF50;
  font-size: 14px;
  margin-right: 10px;
}

@keyframes spin {
to {
  transform: rotate(360deg);
}
}
  
/*=====================================================
Authorization Overlay + Centering
====================================================== */
.password-group {
display: flex;
flex-direction: column;
gap: 10px;
}

.show-hide-btn {
margin-top: 5px;
background: none;
border: none;
color: #007bff;
cursor: pointer;
text-align: center;
font-size: 0.9em;
padding: 0;
}


.auth-overlay {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1), rgba(0, 0, 0, 0.7));
display: flex;
align-items: center;
justify-content: center;
z-index: 1008;
animation: rippleBackground 3s infinite;
}
.auth-card {
background: #fff;
border-radius: 8px;
padding: 2rem;
width: 320px;
position: relative;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.auth-card h2 {
margin: 0 0 1rem;
color: #333;
text-align: center;
}
.auth-card input {
width: 94%;
margin-bottom: 0.75rem;
padding: 0.5rem;
border: 1px solid #ccc;
border-radius: 4px;

}
.auth-card button {
width: 100%;
padding: 0.75rem;
background: #007bff;
color: #fff;
border: none;
border-radius: 4px;
margin-top: 0.5rem;
cursor: pointer;
}

.auth-card .auth-close-btn {
width: 10px;
position: absolute;
top: 8px; right: 20px;
background: transparent;
border: none;
font-size: 1.25rem;
cursor: pointer;
color: #333;
}
.auth-card .auth-close-btn:hover {
color: #d8000c;
}
.error {
color: #d8000c;
margin: 0 0 1rem;
text-align: center;
}

/*=========================================================
Profile button styles 
==========================================================*/
.auth-buttons {
display: flex;
gap: 0.5rem;
}
.auth-buttons button {
padding: 0.5rem 1rem;
background: transparent;
color: #007bff;
cursor: pointer;
}
.auth-buttons button:hover {
background:#007BFF;
color: white;
}
.profile-menu {
position: fixed;
display: inline-block;
border-radius: 4px;
top: 70px;
right: 30px;
background-color: transparent;
}

.profile-menu button {
background: transparent;

cursor: pointer;
font-weight: bold;
color: #008000;
}

.profile-btn {
border-color:#007BFF;
color: white;
padding: 8px 14px;
border-radius: 6px;

cursor: pointer;
font-weight: bold;
transition: background 0.2s;
}

.profile-btn:hover {
background-color:#007BFF;
color: white;
}

.password-toggle-icon {
position: absolute;
right: 10px;
cursor: pointer;
font-size: 18px;
color: #555;
user-select: none;
}

.auth-switch-text {
margin-top: 15px;
font-size: 14px;
text-align: center;
color: #444;
}

.link-text {
color: #008060;
cursor: pointer;
font-weight: 500;
text-decoration: underline;
}
.icon-button {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.profile-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.icon-button:hover .profile-icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}


.header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95),
 rgba(245, 245, 255, 0.85));
z-index: 1000;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header-grid {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 14px;
flex-wrap: nowrap;
}


.header-right {
display: flex;
align-items: center;
}

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

.custom-logo {
  font-family: 'Raleway', sans-serif;
  max-width: 30vw;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 100;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #006400, #00aa00); /* dark green gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowOnce 2.5s ease-in-out 1; /* one-time glow animation */
}

.logo-sub {
  font-size: 0.6rem;
  color: #000;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* One-time glow keyframes */
@keyframes glowOnce {
  0% {
    text-shadow: 0 0 0px rgba(0, 255, 0, 0.4);
  }
  50% {
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.7), 0 0 12px rgba(0, 255, 0, 0.5);
  }
  100% {
    text-shadow: 0 0 0px rgba(0, 255, 0, 0);
  }
}

.logo-tagline {
  font-size: 0.55rem;
  font-weight: 100;
  color: #222;
  margin-top: 2px;
  letter-spacing: 0.2px;
}
/* 🔻 Shrink logo text on smaller screens */
@media (max-width: 768px) {
  .custom-logo {
    max-width: 50vw;
  }

  .logo-main {
    font-size: 1rem;
  }

  .logo-tagline {
    font-size: 0.45rem;
  }
}

@media (max-width: 480px) {
  .custom-logo {
    max-width: 60vw;
  }

  .logo-main {
    font-size: 0.9rem;
  }

  .logo-tagline {
    font-size: 0.4rem;
  }
}

.header-right {
gap: 14px;
}

.checkout-icon{
  border-color: transparent;
}
.checkout-icon img {
width: 24px;
}
.checkout-icon {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.checkout-icon img {
  width: 30px;
  height: 30px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: rgb(0, 34, 255);
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 0 0 1px white;
  z-index: 2;
}


.notification-wrapper {
position: relative;
}
.notification-button{
  border-color: transparent;
}
.notification-button img {
width: 22px;
height: 30px;
}
.notif-badge {
position: absolute;
top: -2px;
right: -2px;
background: red;
color: white;
font-size: 10px;
border-radius: 50%;
padding: 2px 5px;
}
.notifications-panel {
position: absolute;
top: 30px;
right: 0;
background: white;
border: 1px solid #ddd;
padding: 10px;
width: 220px;
box-shadow: 0 0 8px rgba(0,0,0,0.1);
z-index: 1001;
}

.profile-button {
display: flex;
align-items: center;
background: none;
border: none;
}
.profile-icon {
width: 24px;
}
.profile-label {
font-size: 12px;
margin-left: 4px;
}

.search-container {
padding: 10px 14px;
}

.search-box {
display: flex;
align-items: center;
background: white;
border-radius: 25px 25px 25px 25px;
overflow: hidden;
border: 1px solid #ccc;
}

.search-input {
flex: 1;
border: none;
padding: 8px 12px;
outline: none;
}

.search-button {
padding: 8px 12px;
background-color: green;
color: white;
border: none;
border-radius: 0 25px 25px 0;
cursor: pointer;
}
.search-button:hover {
background-color: rgb(16, 193, 55);
}
.search-button img {
  width: 22px;
  height:12px ;
}

.notif-panel {
position: fixed;
top: 65px;
right: 10px;
width: 250px;
background: white;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
border-radius: 6px;
padding: 12px;
z-index: 999;
}

.notif-panel h4 {
margin-bottom: 8px;
font-size: 16px;
}

.notif-panel ul {
list-style: none;
padding: 0;
}

.notif-panel li {
padding: 6px 0;
font-size: 14px;
}
.fab-add-product {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  border: none;
  border-radius: 50%;
  padding: 16px;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 999;
  animation: ripplePulse 2s infinite;
}

.fab-add-product img {
  width: 28px;
  height: 28px;
}

/* Ripple Effect */
@keyframes ripplePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/*===================================================================
Side menu styles
=====================================================================* /
/* Side Menu (Curtain Style) */
.side-menu {
position: fixed;
top: -100%;
left: 0;
width: 100%;
background: #f9f9f9;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: top 0.3s ease-in-out;
z-index: 1000;
padding: 1rem 2rem;
}

.side-menu.open {
top: 0;
}

.side-menu ul {
list-style: none;
padding: 0;
margin: 0;
}

.side-menu li {
margin: 15px 0;
}

.side-menu a,
.side-menu button {
text-decoration: none;
font-size: 18px;
color: #333;
background: none;
border: none;
cursor: pointer;
font-weight: 500;
}

.side-menu button:hover,
.side-menu a:hover {
color: #007bff;
}

/* Menu toggle (☰ icon) */
.menu-toggle {
font-size: 24px;
background: none;
border: none;
cursor: pointer;
margin-right: 15px;
}
.side-menu-links {
list-style: none;
padding: 0;
margin: 20px 0;
}

.side-menu-links li {
margin: 12px 0;
}

.side-menu-links a,
.side-menu-links button {
display: block;
background: none;
border: none;
font-size: 16px;
color: #333;
text-align: left;
width: 100%;
padding: 10px 20px;
cursor: pointer;
transition: background 0.2s;
}

.side-menu-links a:hover,
.side-menu-links button:hover {
background-color: #f2f2f2;
}

.logout-btn {
color: #d9534f; /* red-ish */
}

/*===================================================================
News Ticker section
=====================================================================*/
#taarifa-mpya-section{
position: fixed;
top: 0;
width: 100%;
background-color: #007bff;
color: #fff;
overflow: hidden;
white-space: nowrap;
height: 40px;
display: flex;
align-items: center;
z-index: 1;
cursor: pointer;
transition: background-color 0.3s ease;
}

#taarifa-mpya-section:hover {
background-color: #333;
}

#taarifa-mpya-section p {
display: inline-block;
padding-left: 100%;
animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left{
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}

/*===================================================================
Category-Buttons styles
=====================================================================*/
.category-option {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: fixed;
  top: 130px;
  width: 96%;
  height: 50px;
  z-index: 10;
  padding-left: 1vw;
  background: transparent;
}

/* Water Drop Style Buttons */
.category-button {
  border-radius: 50px;
  font-weight: 600;
  border: none;
  color: rgb(43, 40, 40);
  height: 50px;
  background: radial-gradient(circle at top left, #d4f1f9, #a2d8f1);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    inset 2px 2px 5px rgba(255, 255, 255, 0.5),
    inset -2px -2px 8px rgba(0, 0, 0, 0.05);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.2s ease-in-out, 
              box-shadow 0.2s ease-in-out;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Active Category - Slight Pop */
.category-button.active {
  background: radial-gradient(circle at bottom right, #7fffd4, #40e0d0);
  transform: scale(1.05) rotateX(3deg);
  box-shadow:
    0 6px 12px rgba(0, 255, 170, 0.3),
    inset 1px 1px 3px rgba(255, 255, 255, 0.6);
}

/* Hover - Elastic Bounce */
.category-button:hover {
  transform: translateX(4px) scale(1.03) rotateY(5deg);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.15),
    inset 2px 2px 4px rgba(255, 255, 255, 0.6);
  cursor: pointer;
}


/*===================================================================
Buttons styles
=====================================================================*/
.add-product-btn {
background-color: #008000;
color: white;
border: none;
padding: 10px 15px;
margin: 15px 0;
font-size: 16px;
border-radius: 6px;
cursor: pointer;
}
.buy-button {
background: #4CAF50;
color: white;
border: none;
padding: var(--spacing-unit);
border-radius: var(--border-radius);
cursor: pointer;
transition: background-color 0.3s ease;
font-size: var(--font-size-base);
}

.buy-button:hover {
background: #45a049;
}
.close-btn {
background: none;
border: none;
font-size: 24px;
color: #666;
cursor: pointer;
padding: 5px;
transition: color 0.3s ease;
}

.close-btn:hover {
color: #ee0c0c;
}

.submit-btn {
width: 100%;
padding: 15px;
background-color: #25D366;
color: white;
border: none;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
background-color: rgb(53, 93, 131);
transform: translateY(-2px);
}

.btn-icon {
transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
transform: translateX(5px);
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.whatsapp-button {
background-color: #25D366;
color: white;
width: 100%;
padding: 10px 16px;
border: none;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
margin-left: 5px;
display: inline-block;
margin-top: 1rem;
}

.whatsapp-button:hover {
background-color: #20b858;
}

/*===================================================================
Product page styles
=====================================================================*/
#bidhaa-section {
position: relative;
display: grid;
grid-template-columns: repeat(2, 1fr); /* <-- Exactly 3 items per row */
gap: 1vh;
width: 100%;
top: 220px;
padding-left: 1vw;
}
.prod-description{
font-weight: 100;
font-size: smaller;
text-transform: lowercase;

}

.price {
font-size: var(--font-size-large);
font-weight: 600;
color: #4CAF50;
margin: calc(var(--spacing-unit) * 0.5) 0;
}

.product {
position: relative;
background: white;
border-radius: var(--border-radius);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-actions {
position: absolute;
top: var(--spacing-unit);
right: var(--spacing-unit);
display: flex;
gap: calc(var(--spacing-unit) * 0.5);
opacity: 0;
transition: opacity 0.3s ease;
}

.product:hover .product-actions {
opacity: 1;
}

.product-details {
padding: var(--spacing-unit);
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--spacing-unit);
}

.product-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 0.3s ease;
}

.product-image.active {
opacity: 1;
}

.product-image-container {
position: relative;
width: 100%;
aspect-ratio: 1;
overflow: hidden;
}

.product-image-placeholder {
width: 100%;
height: 200px;
background: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
margin-bottom: 1rem;
cursor: pointer;
}

.product-image-placeholder span {
color: #666;
font-size: 1.1rem;
}

.product-images {
position: relative;
width: 100%;
height: 200px;
overflow: hidden;
border-radius: 8px;
margin-bottom: 1rem;
}

.product-name {
font-size:medium;
font-weight: 500;
margin: 0;
text-transform: capitalize;
font-weight: 900;
color: rgb(0, 0,0);
}

.productImg {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.product:hover .productImg {
transform: scale(1.05);
}
.product-image-container {
position: relative;
width: 100%;
height: 40vh;
}
.no-image-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
gap: 10px;
}
.upload-image-btn {
background-color: #25D366;
color: white;
border: none;
padding: 8px 16px;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
}

.upload-image-btn:hover {
background-color: #1fa855;
transform: translateY(-2px);
}

.product:hover .product-actions {
display: flex;
}

.edit-product-btn{
position: relative;
color: #007BFF;
}
.delete-product-btn {
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
width: 30px;
height: 30px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition: all 0.3s ease;
}
.product-actions-menu button:hover {
background: rgb(53, 93, 131);
transform: translateY(-2px);
}

/*==========================================================================
Responsive Styles
========================================================================== */
@media (max-width: 768px) {
:root {
--spacing-unit: clamp(0.25rem, 1.5vw, 0.75rem);
}

.product-details {
flex-direction: column;
align-items: stretch;
}

.buy-button {
width: 100%;
}

.order-item {
flex-wrap: wrap;
}

.item-name {
flex: 1 1 100%;
margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.item-quantity,
.item-price {
flex: 1;
}
}

@media (max-width: 480px) {
:root {
--spacing-unit: clamp(0.25rem, 1vw, 0.5rem);
}

.image-preview {
grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
}

.edit-content {
width: 95%;
margin: var(--spacing-unit);
}
}


/*==========================================================================
Input styles
========================================================================== */
.input-group {
position: relative;
margin-bottom: 20px;
}

.input-icon {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
color: rgb(63, 113, 151);
}

.input-group input {

padding: 15px 15px 15px 45px;
border: 2px solid #e0e0e0;
border-radius: 10px;
font-size: 16px;
transition: border-color 0.3s ease;
background-color: white;
}

.input-group input:focus {
outline: none;
border-color: rgb(63, 113, 151);
}

/*===========================================================================
Order form styles
============================================================================*/
.order-item-preview {
position: relative;
min-width: 60px;
height: 60px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
animation: slideIn 2s ease-out;
transition: transform 2s ease-in-out;
}

.order-item-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
@keyframes slideIn {
from {
transform: translateX(100vw);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.order-overlay {
display: flex;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 1004;
backdrop-filter: blur(5px);
justify-content: center;
align-items: center;
animation: fadeIn 0.3s ease;
}

.order-card {
background-color:white;
width: 100%;
max-width: 80vw;
padding: 30px;
border: 3px solid #00aaff;
box-shadow: 0 0 30px rgba(0, 170, 255, 0.6);
border-radius: 12px;
transform: translateY(0);
animation: slideUp 0.4s ease;
max-height: 90vh;
overflow-y: auto;
transition: box-shadow 0.3s ease-in-out;
}

.order-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
}

.order-header h2 {
color: black;
margin: 0;
font-size: 1.8rem;
}

.product-summary {
display: flex;
gap: 20px;
margin-bottom: 25px;
padding: 15px;
background-color: white;
border-radius: 10px;
}

.order-product-img {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 8px;

}

.product-info {
flex: 1;
}

.product-info h3 {
margin: 0 0 10px 0;
color: #333;
}

.quantity-control {
display: flex;
align-items: center;
gap: 10px;
}

.quantity-control button {
width: 30px;
height: 30px;
border: none;
background-color: #25D366;
color: white;
border-radius: 5px;
cursor: pointer;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
}

.quantity-control input {
width: 60px;
text-align: center;
border: 1px solid #ddd;
border-radius: 5px;
padding: 5px;
}

select, textarea {
width: 90%;
padding: 10px;
border: 2px solid #e0e0e0;
border-radius: 10px;
font-size: 16px;
transition: border-color 0.3s ease;
background-color: white;
}

select:focus, textarea:focus {
outline: none;
border-color: #25D366;
}

.order-summary {
margin: 20px 0;
padding: 15px;
background-color: white;
border-radius: 10px;
}

.summary-row {
display: flex;
justify-content: space-between;
margin: 10px 0;
font-size: 16px;
}

.summary-row:last-child {
font-weight: bold;
font-size: 18px;
border-top: 1px solid #ddd;
padding-top: 10px;
margin-top: 10px;
}

.image-preview-modal {
position: fixed;
z-index: 9999;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
}

.modal-content {
background: white;
padding: 20px;
width: 90%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
border-radius: 8px;
position: relative;
}

.modal-content h3 {
margin-bottom: 10px;
}

.image-preview-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.image-preview {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 6px;
border: 1px solid #ccc;
}

.order-product-carousel img {
width: 100%;
height: auto;
transition: opacity 3s ease-in-out;
border-radius: 6px;
object-fit: contain;
}
.img-close-btn {
position: absolute;
top: 30px;
right: 20px;
font-size: 32px;
background: transparent;
border: none;
color: white;
cursor: pointer;
z-index: 9999;
}

.img-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 32px;
background: rgba(255, 255, 255, 0.1);
border: none;
color: white;
padding: 12px 18px;
cursor: pointer;
border-radius: 6px;
z-index: 9999;
}

.img-nav-btn.left {
left: 20px;
}

.img-nav-btn.right {
right: 20px;
}
.slider-wrapper {
width: 90vw;
height: 90vh;
overflow: hidden;
border-radius: 10px;
position: relative;
}

.slider-track {
display: flex;
transition: transform 0.5s ease-in-out;
width: 100%;
height: 100%;
}

.image-preview-full {
flex: 0 0 100%;
width: 100%;
height: 100%;
object-fit: contain;
}
/* Horizontal Scroll Setup */
.scroll-x {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 10px;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  -webkit-overflow-scrolling: touch;
}

/* Optional scrollbar styling for WebKit browsers */
.scroll-x::-webkit-scrollbar {
  height: 6px;
}
.scroll-x::-webkit-scrollbar-track {
  background: transparent;
}
.scroll-x::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* Button Styles */
.quick-select-bar button,
.quick-increment-bar button {
  flex: 0 0 auto;
  padding: 6px 14px;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.quick-select-bar button.active {
  background-color: darkgreen;
  color: #fff;
  border-color: green;
}

.quick-select-bar button:hover,
.quick-increment-bar button:hover {
  background-color: #e0e0e0;
}

/*===========================================================================
Checkout Page Styles 
============================================================================*/
.checkout-overlay {
display: flex;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1), rgba(0, 0, 0, 0.7));
z-index: 1005;
backdrop-filter: blur(5px);
justify-content: center;
align-items: center;
animation: fadeIn 0.3s ease;
animation: rippleBackground 3s infinite;
}

.checkout-overlay.show {
display: flex;
justify-content: center;
align-items: center;
animation: fadeIn 0.3s ease;
}

.checkout-card {
background-color: white;
border: 3px solid #00aaff;
box-shadow: 0 0 30px rgba(0, 170, 255, 0.6);
border-radius: 12px;
width: 90%;
max-width: 80vw;
padding: 30px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
max-height: 90vh;
overflow-y: auto;

}

.checkout-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}

.checkout-header h2 {
color: #333;
margin: 0;
}

.checkout-items {
margin-bottom: 20px;
}

.checkout-item {
display: flex;
align-items: center;
gap: 15px;
padding: 10px;
background-color: #f8f9fa;
border-radius: 8px;
margin-bottom: 10px;
}

.checkout-item img {
width: 60px;
height: 60px;
object-fit: cover;
border-radius: 8px;
}

.checkout-item-details {
flex: 1;
}

.checkout-item-name {
font-weight: bold;
margin-bottom: 5px;
}

.checkout-item-price {
color: #666;
}

.checkout-total {
text-align: right;
font-weight: bold;
font-size: 1.2rem;
margin: 20px 0;
padding-top: 20px;
border-top: 2px solid #eee;
}

.clear-order-button {
margin-top: 1rem;
padding: 12px 20px;
background-color: #ff4d4f; /* Danger red */
color: white;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
width: 100%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.clear-order-button:hover {
background-color: #e04143;
transform: scale(1.02);
}

.clear-order-button:active {
transform: scale(0.98);
}


.pay-button {
background-color: #25D366;
color: white;
border: none;
padding: 15px 30px;
border-radius: 8px;
font-size: 1.1rem;
cursor: pointer;
width: 100%;
margin-top: 20px;
transition: all 0.3s ease;
}

.pay-button:hover {
background-color: #1fa855;
transform: translateY(-2px);
}

.pay-button:disabled {
background-color: #ccc;
cursor: not-allowed;
transform: none;
}

.success-message{
position: absolute;
bottom: 5vh;
background-color: #666;
border: none;
border-radius: 20%;
}

.item-header {
display: flex;
justify-content: space-between;
align-items: center;
}

.delete-btn {
background: transparent;
border: none;
color: red;
font-size: 20px;
cursor: pointer;
}

.quantity-control {
display: flex;
gap: 8px;
align-items: center;
}

.editable-fields {
display: flex;
flex-direction: column;
gap: 5px;
margin-top: 5px;
}

.shipping-info {
margin-top: 20px;
display: flex;
flex-direction: column;
gap: 10px;
}
.shipping-info input,
.shipping-info textarea {
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}

.modal-box {
background: #fff;
border-radius:8px;
padding: 1.5rem;
max-width: 400px;
width: 98%;
box-shadow: 0 0 15px rgba(0,0,0,0.2);
text-align: center;
}


/*===========================================================================
My orders Page styles
============================================================================*/
/* Container for the entire orders page */
.myorders-container {
max-width: 100%;
margin: 30px auto;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #333;
}

/* Page heading */
.myorders-container h1 {
text-align: center;
margin-bottom: 25px;
color: #2c3e50;
}

/* Filter buttons container */
.filters {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 25px;
}

/* Style for each filter button */
.filters button {
padding: 10px 22px;
border: none;
border-radius: 25px;
background-color: #3498db;
color: white;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
box-shadow: 0 3px 8px rgba(52, 152, 219, 0.4);
}

/* Hover effect */
.filters button:hover {
background-color: #2980b9;
}

/* Active filter button */
.filters button.active {
background-color: #2ecc71;
box-shadow: 0 3px 12px rgba(46, 204, 113, 0.7);
}


/* Responsive - table scroll on smaller screens */
@media (max-width: 768px) {
.myorders-container {
padding: 15px;
}

.orders-table {
display: block;
overflow-x: auto;
white-space: nowrap;
}
}

.close-button {
position: absolute;
top: 10px;
right: 15px;
font-size: 22px;
border: none;
background: none;
cursor: pointer;
color: #333;
font-weight: bold;
}

.modal-content ul {
list-style-type: none;
padding-left: 0;
}

.modal-content li {
margin-bottom: 10px;
}

/*orders section all styles*/ 


.modal-overlay {
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.6);
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
}

.manual-order-page {
padding: 20px;
max-width: 500px;
margin: 0 auto;
font-family: sans-serif;
}

.manual-order-form {
background-color: #f9f9f9;
border-radius: 10px;
padding: 15px;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.input-group {
margin-bottom: 15px;
}

.input-group label {
font-weight: bold;
display: block;
margin-bottom: 5px;
}

.input-group input,
.input-group textarea,
.input-group select {
width: 100%;
padding: 8px 12px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 6px;
box-sizing: border-box;
}

.order-preview-img {
width: 100%;
margin-top: 10px;
border-radius: 6px;
border: 1px solid #ddd;
}

.form-actions {
display: flex;
justify-content: space-between;
gap: 10px;
margin-top: 20px;
}

.submit-btn,
.cancel-btn {
flex: 1;
padding: 10px;
font-size: 1rem;
border: none;
border-radius: 6px;
cursor: pointer;
}

.submit-btn {
background-color: #25d366;
color: white;
}

.cancel-btn {
background-color: #ccc;
color: black;
}

@media screen and (max-width: 600px) {
.manual-order-page {
padding: 10px;
}

.submit-btn,
.cancel-btn {
font-size: 0.95rem;
padding: 8px;
}
}
.order-row {
  background: #f7f7f7;
  padding: 12px;
  margin: 8px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ready-checkbox {
  position: absolute;
  right: 12px;
  top: 12px;
}

.item-box {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 8px;
  border-radius: 6px;
}

.share-section {
  text-align: center;
  margin-top: 12px;
}

.share-section button {
  background-color: #0d6efd;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.fab {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d6efd;
  color: white;
  border: none;
  font-size: 22px;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

/* Captured Orders Page */
.captured-orders-page {
padding: 16px;
max-width: 500px;
margin: auto;
font-family: sans-serif;
}

.captured-orders-page h2 {
text-align: center;
margin-bottom: 20px;
color: #007BFF;
}

.captured-orders-list {
display: flex;
flex-direction: column;
gap: 16px;
}

.captured-order-card {
background-color: #f8f9fa;
border: 1px solid #ddd;
padding: 12px 16px;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.captured-order-card p {
margin: 6px 0;
font-size: 15px;
}

.view-image-btn {
display: inline-block;
margin-top: 10px;
padding: 8px 12px;
background-color: #28a745;
color: white;
text-decoration: none;
border-radius: 5px;
text-align: center;
font-weight: 500;
}

.view-image-btn:hover {
background-color: #218838;
}

.no-orders-text {
text-align: center;
color: gray;
margin-top: 20px;
}

/* ==========================================================================
EditStatusModal Styles 
=============================================================================*/
.status-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(20, 20, 20, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

.status-modal {
background: white;
border-radius: 12px;
padding: 20px;
width: 90%;
max-width: 400px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
animation: fadeIn 0.3s ease-in-out;
}

.status-modal h3 {
margin-top: 0;
font-size: 18px;
margin-bottom: 12px;
text-align: center;
font-weight: 600;
}

.status-modal select {
width: 100%;
padding: 10px;
font-size: 16px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 8px;
}

.status-modal-buttons {
display: flex;
justify-content: space-between;
gap: 10px;
}

.status-modal button {
flex: 1;
padding: 10px;
border: none;
border-radius: 8px;
font-size: 15px;
cursor: pointer;
transition: background 0.3s;
}

.status-modal button.save-btn {
background-color: #007bff;
color: white;
}

.status-modal button.save-btn:hover {
background-color: #0069d9;
}

.status-modal button.cancel-btn {
background-color: #f2f2f2;
color: #333;
}

.status-modal button.cancel-btn:hover {
background-color: #ddd;
}

/* Optional: Fade animation */
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}

/* Standalone Page */
.add-product-page {
padding: 1rem;
background: #f9f9f9;
min-height: 100vh;
}

/* Card */
.form-card {
background: #fff;
max-width: 98%;
margin: 0 auto;
padding: 1.5rem;
border-radius: 1rem;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Headline */
.form-card h2 {
text-align: center;
color: #111;
margin-bottom: 1.5rem;
}

/* Input Groups */
.input-group {
margin-bottom: 1.3rem;
display: flex;
flex-direction: column;
}

.input-group label {
font-size: 0.95rem;
color: #444;
margin-bottom: 0.3rem;
}

.input-group input,
.input-group textarea,
.input-group select {
padding: 0.7rem;
border-radius: 0.6rem;
border: 1px solid #ccc;
font-size: 1rem;
background: #fafafa;
transition: border 0.3s;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
border-color: #2563eb;
background: #fff;
outline: none;
}

/* Image Previews */

.image-preview-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
gap: 0.5rem;
margin-top: 0.5rem;
}

.image-preview {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 0.5rem;
border: 1px solid #ddd;
}

/* Buttons */
.form-actions {
display: flex;
justify-content: space-between;
gap: 1rem;
}

.cancel-btn,
.submit-btn {
flex: 1;
padding: 0.8rem;
border: none;
font-size: 1rem;
border-radius: 0.6rem;
cursor: pointer;
transition: background 0.3s;
}

.cancel-btn {
background: #ccc;
color: #333;
}

.cancel-btn:hover {
background: #999;
}

.submit-btn {
background-color: #2563eb;
color: white;
}

.submit-btn:hover {
background-color: #1e40af;
}



/* -------------------- AddProductForm Enhancements -------------------- */

.custom-price-section {
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  background-color: #f9f9f9;
}

.custom-price-section h4 {
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}

.custom-price-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.custom-price-row input {
  margin-right: 8px;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom-price-row input[type="text"] {
  width: 45%;
}

.custom-price-row input[type="number"] {
  width: 30%;
}

.custom-price-row button {
  background-color: #ff4d4f;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}

.custom-price-row button:hover {
  background-color: #d9363e;
}

.add-price-btn {
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  margin-top: 10px;
}

.add-price-btn:hover {
  background-color: #1677cc;
}


/* -------------------- OrderForm Enhancements -------------------- */

.input-group select {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
  background-color: white;
  font-size: 15px;
  margin-top: 4px;
}

.input-group select:focus {
  border-color: #1890ff;
  outline: none;
}

/* Summary Rows with updated price */
.order-summary .summary-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-weight: 500;
  color: #333;
}

.autofill-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  padding: 4px;
  display: flex;
  align-items: center;
}
.autofill-btn:hover {
  opacity: 0.8;
}


.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*======================================================================
payment page
========================================================================*/

.payment-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.shipping-form input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}



.upload-section {
  margin-top: 20px;
}

.preview-image {
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}


.payment-pic::before,
.payment-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  border: 3px solid transparent;
  z-index: -1;
  background: conic-gradient(#00ffe1, #ff00c8, #00ffe1, #00ffe1);
  background-size: 200% 200%;
  animation: snake-border 4s linear infinite;
  border-radius: 8px;
}

.payment-pic::after {
  filter: blur(4px);
  opacity: 0.6;
}

@keyframes snake-border {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 400% 400%;
  }
}


/*my account page styles*/


.myaccount-container {
  max-width: 400px;
  margin: 2rem auto;
  padding: 20px;
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.myaccount-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.myaccount-container input[type="password"],
.myaccount-container input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.myaccount-container button {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  transition: background-color 0.2s ease-in-out;
}

.myaccount-container button:hover {
  background-color: #218838;
}

.account-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.account-actions button {
  flex: 1;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 95%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(104, 167, 234, 0.1), rgba(0, 0, 0, 0.7));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: rippleBackground 3s infinite;
}

/* Ripple Effect */
@keyframes rippleBackground {
  0% {
    background-position: center;
    background-size: 0%;
  }
  50% {
    background-size: 150%;
  }
  100% {
    background-size: 0%;
  }
}

/* Modal Content */
.modal-content {
  background-color: #ffffff;
  border: 3px solid #00aaff;
  box-shadow: 0 0 30px rgba(0, 170, 255, 0.6);
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: shakeInfinite 0.5s ease-in-out;
  transition: box-shadow 0.3s ease-in-out;
}

.modal-content:focus-within {
  animation: none;
  box-shadow: 0 0 25px #00aaff;
  border-color: #00cfff;
}

/* Shake Effect */
@keyframes shakeInfinite {
  0% { transform: translate(0px, 0px); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0px, 0px); }
}

/* Modal Input */
.modal-content input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-top: 15px;
  border: 2px solid #00aaff;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.modal-content input:focus {
  border-color: #00cfff;
  box-shadow: 0 0 10px #00cfff;
}

/* Modal Buttons */
.modal-content button {
  padding: 10px 20px;
  font-size: 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-content button:hover {
  background-color: #0056b3;
}

.about-container {
    max-width: 900px;
    margin: 90px auto 40px auto;
    padding: 20px;
    background: linear-gradient(to right, #f5faff, #f7f7f7);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    animation: fadeInUp 0.6s ease-in-out;
  }
  
  .about-container h1 {
    font-size: 2.2rem;
    color: #006aff;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .about-container section {
    margin-bottom: 30px;
  }
  
  .about-container h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a1a1a;
  }
  
  .about-container p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .about-container a {
    color: #0077cc;
    text-decoration: none;
  }
  
  .about-container a:hover {
    text-decoration: underline;
  }
  
  iframe {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  @keyframes fadeInUp {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
