:root {
  --primary-color: #bb86fc;
  --secondary-color: #414dfa;
  --purple-color: #7a1fff;
  --dark-bg: rgba(26, 26, 26, 0.9);
  --medium-bg: rgba(45, 45, 45, 0.9);
  --light-bg: rgba(58, 58, 58, 0.8);
  --text-color: rgba(255, 255, 255, 0.9);
  --text-light: #ffffff;
  --transp-background: rgba(255, 255, 255, 0.15);
  --transp-backdrop: blur(15px);
}

/* General Styles */
body {
  font-family: 'Segoe UI', Roboto, sans-serif !important;
  background: linear-gradient(135deg, #bb86fc 0%, #414dfa 100%) fixed;
  color: var(--text-light);
  margin: 0;
}

.header-placeholder {
  min-height: 30px;
  height: auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 10px auto;
  padding: 2rem 1rem;
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

@media (min-width: 768px) {
  .container {
    margin: 20px auto;
  }
}

h1 {
  color: var(--purple-color);
}

h2 {
  color: var(--purple-color);
}

h3 {
  color: var(--secondary-color);
}

/* Link Styles */
a {
  color: #fff !important;
  transition: color 0.2s !important;
  text-decoration: none !important;
  /*display: inline-block;*/
  border-radius: 20px;
}

a:hover {
  color: #decaff !important;
  text-decoration: underline;
}

a:visited {
  color: #d4b0ff !important;
}

/* Button Styles */
button {
  padding: 10px;
  color: var(--text-light);
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 
      inset 0 1px 3px rgba(0,0,0,0.3),
      0 4px 12px rgba(187, 134, 252, 0.2);
}

button:focus {
  outline: none;
  box-shadow: 
      inset 0 1px 3px rgba(0,0,0,0.3),
      0 0 0 3px rgba(187, 134, 252, 0.2);
}

button i {
  font-size: 14px;
}
/* Button Styles */

/* Input Styles */
input {
  width: 95%;
  padding: 12px;
  margin-bottom: 15px;
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  border: 1px solid var(--primary-color);
  border-radius: 6px;
  color: var(--purple-color);
  font-size: 16px;
}

input:focus {
  outline: none;
  border-color: var(--purple-color);;
}

input::placeholder {
  color: var(--purple-color);
}

input:required {
  border-left: 3px solid var(--purple-color);
}
/* Input Styles */

select {
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  color: var(--purple-color);
}

.logo-link img {
  height: 40px;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

label {
  font-weight: bold;
  margin-top: 1px;
  color: #e0e0e0;
}

/* Global notification / alert styles */
.notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 12px;
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  color: var(--text-light);
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 3px rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  transform: translateY(100px);
  opacity: 0;
  border: 1px solid rgba(187, 134, 252, 0.2);
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Notification variants */
.notification.success {
  border-left: 4px solid #4CAF50;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 3px rgba(255,255,255,0.1),
    0 0 15px rgba(76,175,80,0.2);
}

.notification.error {
  border-left: 4px solid #f44336;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 3px rgba(255,255,255,0.1),
    0 0 15px rgba(244,67,54,0.2);
}

.notification.warning {
  border-left: 4px solid #ff9800;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 3px rgba(255,255,255,0.1),
    0 0 15px rgba(255,152,0,0.2);
}

.notification.info {
  border-left: 4px solid #2196F3;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 3px rgba(255,255,255,0.1),
    0 0 15px rgba(33,150,243,0.2);
}

.notification-icon {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Hover effects */
.notification:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 16px rgba(0,0,0,0.2),
    inset 0 1px 3px rgba(255,255,255,0.1);
}

/* Animation keyframes */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Animation classes */
.notification.slide-in {
  animation: slideIn 0.3s ease-out forwards;
}

.notification.slide-out {
  animation: slideOut 0.3s ease-out forwards;
}

/* Responsive design */
@media (max-width: 768px) {
  .notification {
    right: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
  }
  
  .notification-icon {
    font-size: 1rem;
  }
}
/* Global notification / alert styles */

/* Popup Styles */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.popup-open {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Popup Content */
.popup-content {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  padding: 2rem;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 8px 32px rgba(187, 134, 252, 0.2);
  border: 1px solid rgba(187, 134, 252, 0.2);
  overflow-y: auto;
  max-height: 90vh;
}

/* Add smooth scrolling behavior */
.popup-content::-webkit-scrollbar {
  width: 8px;
}

.popup-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.popup-content::-webkit-scrollbar-thumb {
  background: rgba(187, 134, 252, 0.3);
  border-radius: 4px;
}

/* Add these styles to your CSS */
@keyframes popOutFromRight {
  0% {
    opacity: 0;
    transform: scale(0.8) translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

@keyframes popOutFromBottom {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Mobile-specific animation */
@media (max-width: 1100px) {
  .popup-content {
    transform-origin: bottom center;
    animation: popOutFromBottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

/* Desktop-specific animation */
@media (min-width: 1101px) {
  .popup-content {
    transform-origin: right center;
    animation: popOutFromRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(187, 134, 252, 0.2);
}

.close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(187, 134, 252, 0.3);
}
/* Popup Styles */

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    width: 95vw;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
  .items-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (min-width: 1024px) {
  .items-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
}
/* Items Grid */

/* Wishlist Header / Title */
.wishlist-header {
    background: var(--transp-background);
    backdrop-filter: var(--transp-backdrop);
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.wishlist-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    word-break: break-word;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 0 10px;
    margin: 0 auto 1rem;
    max-width: 100%;
    display: inline-block;
    color: var(--purple-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.wishlist-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #bb86fc, #414dfa);
    border-radius: 2px;
}

@media (max-width: 480px) {
  .wishlist-title {
    font-size: 1.7rem;
    max-width: 90%;
  }
}
/* Wishlist Header / Title */

/* Item Card */
.item-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.item-card img {
  display: block;
  margin: 0 auto 15px;
  width: 100%;
  height: 350px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.image-placeholder {
  width: 100%;
  height: 350px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 5em;
  margin: 0 auto 15px;
}

.item-card h2 {
  text-align: center;
  margin: 0 0 10px;
  color: #ffffff;
}

.item-card p {
  text-align: center;
  margin: 5px 0;
  color: #e0e0e0;
}

.item-card .price {
  font-weight: bold;
  color: #ffffff;
  font-style: italic;
}

.view-button:disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  color: #ffffff !important;
}
