* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f5f7fa;
}

#root {
  min-height: 100vh;
}
/* Top Navbar - Logo & User Info */
.navbar-top {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-top .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login {
  color: #333;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-login:hover {
  background: #f5f5f5;
}

.btn-register {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-profile-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
}

.user-profile-link:hover {
  background: #f5f5f5;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff9800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}


.btn-logout {
  background: #f44336;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 0.3rem;
}

.btn-logout:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Secondary Menu Bar */
.navbar-menu-bar {
  background: white;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.75rem 0;
}

.navbar-menu-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.menu-items {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: fit-content;
}

.menu-item:hover {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  border-color: #ff9800;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.menu-item:hover .menu-icon {
  color: white;
}

.menu-icon {
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.menu-text {
  font-size: 0.95rem;
  white-space: nowrap;
}

.menu-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-top .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .menu-items {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .menu-item {
    width: 100%;
    justify-content: center;
  }
}

/* Notification Icon */
.notification-icon-link {
  position: relative;
  color: #333;
  font-size: 1.3rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-icon-link:hover {
  background: #f5f5f5;
  color: #e74c3c;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #e74c3c;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}
/* Responsive menu */
@media (max-width: 1200px) {
  .menu-items {
    gap: 1rem;
  }
  
  .menu-item {
    padding: 0.6rem 1rem;
  }
  
  .menu-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .menu-items {
    gap: 0.75rem;
  }
  
  .menu-item {
    padding: 0.5rem 0.75rem;
  }
  
  .menu-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .menu-items {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .menu-item {
    padding: 0.5rem 0.75rem;
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
}.user-
avatar-empty {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 50%;
}
/* Home Page - Redesigned */
.home {
  min-height: 100vh;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.highlight {
  background: linear-gradient(90deg, #ffd89b 0%, #19547b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn-primary-hero,
.btn-secondary-hero {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary-hero {
  background: white;
  color: #ff9800;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary-hero {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary-hero:hover {
  background: white;
  color: #ff9800;
}

/* Floating Cards */
.hero-image {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 10%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 10%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.card-icon {
  font-size: 2.5rem;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-text strong {
  font-size: 1.5rem;
  color: #333;
}

.card-text span {
  font-size: 0.9rem;
  color: #666;
}

/* Stats Section */
.stats-section {
  padding: 5rem 2rem;
  background: white;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.stat-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.stat-item:nth-child(1) .stat-icon {
  animation-delay: 0s;
}

.stat-item:nth-child(2) .stat-icon {
  animation-delay: 0.5s;
}

.stat-item:nth-child(3) .stat-icon {
  animation-delay: 1s;
}

.stat-item:nth-child(4) .stat-icon {
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
}

/* Customer Testimonials - New Design */
.testimonials-section-new {
  padding: 5rem 2rem;
  background: white;
}

.testimonials-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.testimonials-grid-new {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.testimonials-grid-new::-webkit-scrollbar {
  display: none;
}

.testimonial-card-new {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: calc((100% - 4rem) / 3);
  flex-shrink: 0;
  scroll-snap-align: start;
  height: 320px;
}

.testimonial-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: #ff9800;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff9800;
}

.testimonial-content {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ff9800 #f0f0f0;
}

.testimonial-content::-webkit-scrollbar {
  width: 4px;
}

.testimonial-content::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.testimonial-content::-webkit-scrollbar-thumb {
  background: #ff9800;
  border-radius: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #e0e0e0;
  flex-shrink: 0;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff9800;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.1rem;
  color: #333;
  margin: 0 0 0.3rem 0;
  font-weight: 600;
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #ff9800;
  color: #ff9800;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.testimonial-nav:hover {
  background: #ff9800;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.testimonial-nav-prev {
  left: 0;
}

.testimonial-nav-next {
  right: 0;
}

/* Responsive for Testimonials */
@media (max-width: 968px) {
  .testimonial-card-new {
    min-width: calc((100% - 2rem) / 2);
  }
  
  .testimonials-carousel-container {
    padding: 0 3rem;
  }
  
  .testimonial-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .testimonial-card-new {
    min-width: 100%;
  }
  
  .testimonials-carousel-container {
    padding: 0 2.5rem;
  }
}

/* Categories Section */
.categories-section {
  padding: 5rem 2rem;
  background: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.category-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.category-card:hover {
  border-color: var(--category-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.category-card p {
  color: #666;
  font-size: 0.9rem;
}

/* Latest Auctions */
.latest-auctions-section {
  padding: 5rem 2rem;
  background: #f8f9fa;
}

.auctions-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.auction-card-main {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.auction-card-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.auction-image-main {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
}

.auction-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5f5f5;
}

.auction-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.live-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(244, 67, 54, 0.95);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Auction Content */
.auction-content {
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.auction-title-main {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8rem;
  line-height: 1.4rem;
  text-align: center;
}

.auction-name {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2rem;
  line-height: 1rem;
  text-align: center;
}

.auction-info {
  margin-bottom: 0.4rem;
  flex: 1;
}

.info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.2rem;
  gap: 0.1rem;
  align-items: center;
  text-align: center;
}

.info-item.row {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.label-price {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.value-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #4caf50;
  text-shadow: 0 1px 2px rgba(76, 175, 80, 0.2);
}

.countdown-display {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  color: #f44336;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: 'Courier New', monospace;
}

.countdown-label {
  color: #666;
  font-size: 0.75rem;
}

.time {
  display: inline-block;
  color: #4caf50;
  font-weight: 700;
  font-size: 1rem;
}

.bids-count-inline {
  color: #2196f3;
  font-weight: 700;
  font-size: 1rem;
}

.auction-footer {
  padding-top: 0.5rem;
  border-top: 2px solid #f0f0f0;
  margin-top: auto;
}

.btn-join-auction {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-join-auction:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244, 67, 54, 0.5);
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

/* View All */
.view-all-section {
  text-align: center;
}

.btn-view-all {
  padding: 1rem 3rem;
  background: white;
  color: #ff9800;
  border: 2px solid #ff9800;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-all:hover {
  background: #ff9800;
  color: white;
}

/* How It Works */
.how-it-works {
  padding: 5rem 2rem;
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  position: relative;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-icon {
  font-size: 4rem;
  margin: 2rem 0 1.5rem;
}

.step-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
}

.step-card p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.btn-cta {
  padding: 1.2rem 3rem;
  background: white;
  color: #ff9800;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer-main {
  background: #2d3748;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-contact p {
  margin: 0.5rem 0;
  color: #a0aec0;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

.newsletter-desc {
  color: #a0aec0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: #374151;
  color: white;
  outline: none;
}

.newsletter-form button {
  padding: 0.8rem 1.5rem;
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: #f44336;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom-main {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #4a5568;
  color: #a0aec0;
}

/* Loading & Empty States */
.loading-state,
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff9800;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* Winner name for user view */
.winner-name-user {
  font-weight: 600;
  color: #27ae60;
}.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  min-height: calc(100vh - 80px);
}

.auth-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 480px;
}

.auth-card h2 {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: white;
  color: #ff9800;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 152, 0, 0.3);
  border-top-color: #ff9800;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.auth-link a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.auth-link a:hover {
  border-bottom-color: white;
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.alert-error {
  background: rgba(244, 67, 54, 0.2);
  color: white;
  border: 1px solid rgba(244, 67, 54, 0.4);
}

.alert-success {
  background: rgba(76, 175, 80, 0.2);
  color: white;
  border: 1px solid rgba(76, 175, 80, 0.4);
}
.profile-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.profile-container {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.profile-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.profile-card h2 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
}

.avatar-preview {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid #2196f3;
  box-shadow: 0 5px 20px rgba(33, 150, 243, 0.3);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}

.avatar-upload {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-choose-file {
  background: #2196f3;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.btn-choose-file:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-upload {
  background: #4caf50;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-upload:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-upload:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
  color: black;
}

.form-group input:focus {
  outline: none;
  border-color: #2196f3;
}

.input-disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.form-group small {
  display: block;
  margin-top: 0.3rem;
  color: #718096;
  font-size: 0.85rem;
}

.btn-submit-profile {
  width: 100%;
  padding: 1rem;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.btn-submit-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #fc8181;
}

.alert-success {
  background: #c6f6d5;
  color: #2f855a;
  border: 1px solid #9ae6b4;
}

@media (max-width: 768px) {
  .profile-card {
    padding: 2rem 1.5rem;
  }
  
  .avatar-preview {
    width: 120px;
    height: 120px;
  }
  
  .admin-request-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-request-admin {
    width: 100%;
  }
  
  .info-tooltip {
    right: auto;
    left: 0;
  }
  
  .info-tooltip::after {
    right: auto;
    left: 10px;
  }
}

/* Request Admin Button */
.admin-request-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.btn-request-admin {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-request-admin:hover:not(:disabled) {
  background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-request-admin.pending {
  background: #9e9e9e;
  cursor: not-allowed;
}

.btn-request-admin:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.info-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.info-icon {
  font-size: 1.3rem;
  cursor: help;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e3f2fd;
  transition: all 0.3s;
}

.info-icon:hover {
  background: #2196f3;
  transform: scale(1.1);
}

.info-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 10px;
  background: white;
  border: 2px solid #2196f3;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
}

.info-icon-wrapper:hover .info-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 10px;
  border: 8px solid transparent;
  border-top-color: #2196f3;
}

.info-tooltip strong {
  display: block;
  color: #2196f3;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.info-tooltip ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-tooltip ul li {
  color: #555;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.info-tooltip ul li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #4caf50;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.modal-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

.modal-textarea:focus {
  outline: none;
  border-color: #2196f3;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-modal-cancel,
.btn-modal-submit {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-modal-cancel {
  background: #e0e0e0;
  color: #333;
}

.btn-modal-cancel:hover {
  background: #d0d0d0;
}

.btn-modal-submit {
  background: #2196f3;
  color: white;
}

.btn-modal-submit:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.alert-info {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #90caf9;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background: #4caf50;
  color: white;
}

.toast-error {
  background: #f44336;
  color: white;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.avatar-placeholder-empty {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #dee2e6;
  border-radius: 50%;
}.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  color: #666;
  font-size: 0.9rem;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e0e0e0;
  background: white;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #2196f3;
  color: #2196f3;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.5rem;
}

.pagination-page {
  width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  background: white;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.pagination-page:hover {
  border-color: #2196f3;
  color: #2196f3;
}

.pagination-page.active {
  background: #2196f3;
  border-color: #2196f3;
  color: white;
}

.pagination-single-page {
  padding: 0.5rem 1rem;
  color: #666;
  font-size: 0.9rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f8f9fa;
}

.pagination-dots {
  padding: 0 0.5rem;
  color: #999;
}

.pagination-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.pagination-per-page select {
  padding: 0.4rem 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  color: #666;
  cursor: pointer;
}

.pagination-per-page select:focus {
  outline: none;
  border-color: #2196f3;
}

/* Responsive */
@media (max-width: 768px) {
  .pagination-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .pagination-controls {
    order: 2;
  }
  
  .pagination-info {
    order: 1;
  }
  
  .pagination-per-page {
    order: 3;
  }
  
  .pagination-pages {
    flex-wrap: wrap;
    justify-content: center;
  }
}.admin-requests-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.admin-requests-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.admin-requests-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.no-requests {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-requests p {
  font-size: 1.2rem;
  color: #777;
}

.requests-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.request-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.request-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.request-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.user-info-request h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.user-info-request .username {
  color: #2196f3;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.user-info-request .email {
  color: #777;
  font-size: 0.95rem;
}

.request-date {
  background: #f5f5f5;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.request-content {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #2196f3;
}

.request-content strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.request-content p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.request-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-approve,
.btn-reject {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-approve {
  background: #4caf50;
  color: white;
}

.btn-approve:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-reject {
  background: #f44336;
  color: white;
}

.btn-reject:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

@media (max-width: 768px) {
  .request-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .request-actions {
    flex-direction: column;
  }
  
  .btn-approve,
  .btn-reject {
    width: 100%;
  }
}
/* Search Section */
.search-section {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-group label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.search-input {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: #2196f3;
}

.search-results {
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid #e0e0e0;
}

.search-results strong {
  color: #2196f3;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .search-section {
    padding: 1rem;
  }
  
  .search-input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}.user-management-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.user-management-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.filters-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #95a5a6;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
}

.filters-section select {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
}

.results-count {
  color: #7f8c8d;
  font-size: 0.9rem;
  white-space: nowrap;
}

.users-table {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.users-table table {
  width: 100%;
  border-collapse: collapse;
}

.users-table thead {
  background: #f8f9fa;
}

.users-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #ecf0f1;
}

.users-table td {
  padding: 1rem;
  border-bottom: 1px solid #ecf0f1;
}

.user-avatar-cell {
  width: 40px;
  height: 40px;
}

.user-avatar-cell img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3498db;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.role-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.role-badge.admin {
  background: #e74c3c;
  color: white;
}

.role-badge.user {
  background: #3498db;
  color: white;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.status-badge.active {
  background: #d5f4e6;
  color: #27ae60;
}

.status-badge.warned {
  background: #fff3cd;
  color: #f39c12;
}

.status-badge.banned {
  background: #f8d7da;
  color: #e74c3c;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.action-buttons button {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-warn {
  background: #f39c12;
  color: white;
}

.btn-warn:hover {
  background: #e67e22;
}

.btn-ban {
  background: #e74c3c;
  color: white;
}

.btn-ban:hover {
  background: #c0392b;
}

.btn-unban {
  background: #27ae60;
  color: white;
}

.btn-unban:hover {
  background: #229954;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.modal-content p {
  margin-bottom: 1rem;
  color: #7f8c8d;
}

.modal-content textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-cancel {
  padding: 0.75rem 1.5rem;
  background: #95a5a6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cancel:hover {
  background: #7f8c8d;
}

.btn-confirm {
  padding: 0.75rem 1.5rem;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-confirm:hover {
  background: #c0392b;
}
.notifications-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.notifications-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.no-notifications {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-notifications h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 1rem 0;
}

.no-notifications p {
  color: #7f8c8d;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid;
}

.notification-card.ban {
  border-left-color: #e74c3c;
}

.notification-card.warn {
  border-left-color: #f39c12;
}

.notification-card.unban {
  border-left-color: #27ae60;
}

.notif-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.notif-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.notif-icon.ban {
  color: #e74c3c;
}

.notif-icon.warn {
  color: #f39c12;
}

.notif-icon.unban {
  color: #27ae60;
}

.notif-title-section {
  flex: 1;
}

.notif-title-section h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.notif-date {
  font-size: 0.85rem;
  color: #95a5a6;
}

.notif-body {
  padding-left: 3rem;
}

.notif-content-fieldset {
  border: 2px solid #ecf0f1;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.notif-content-fieldset legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: #7f8c8d;
  padding: 0 0.5rem;
}

.notif-message {
  font-size: 1rem;
  color: #2c3e50;
  line-height: 1.6;
  margin: 0;
}

.notif-admin-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.admin-label {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.admin-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3498db;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.admin-info strong {
  color: #2c3e50;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .notif-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .notif-body {
    padding-left: 0;
  }
}
.account-banned-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.banned-container {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.banned-icon {
  font-size: 5rem;
  color: #ff9800;
  margin-bottom: 1.5rem;
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.banned-container h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.banned-message {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: left;
}

.banned-message p {
  margin-bottom: 0.75rem;
  color: #2c3e50;
  line-height: 1.6;
}

.banned-message p:last-child {
  margin-bottom: 0;
}

.banned-message strong {
  color: #f57c00;
  font-weight: 700;
}

.contact-info {
  background: #fafafa;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: left;
  border: 2px solid #ffe0b2;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-info h3::before,
.contact-info h3::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff9800, transparent);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ffe0b2;
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  font-size: 1.5rem;
  color: #ff9800;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-weight: 600;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.contact-details a {
  color: #ff9800;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  font-weight: 500;
}

.contact-details a:hover {
  color: #f57c00;
  text-decoration: underline;
}

.contact-details span {
  color: #2c3e50;
  font-size: 1rem;
}

.btn-logout {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.footer-info {
  padding-top: 1.5rem;
  border-top: 2px solid #ffe0b2;
}

.footer-info p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-info p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #ff9800;
}

@media (max-width: 768px) {
  .banned-container {
    padding: 2rem 1.5rem;
  }

  .banned-icon {
    font-size: 4rem;
  }

  .banned-container h1 {
    font-size: 1.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}
.create-auction-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  position: relative;
}

.create-auction-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.create-auction-container {
  max-width: 900px;
  margin: auto;
  padding: 8rem 2rem 3rem 2rem;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.create-auction-container h2 {
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Steps Indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 1rem;
  margin-top: 10px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-item.active .step-number {
  background: white;
  color: #ff9800;
  border-color: white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.step-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.step-item.active span {
  color: white;
  font-weight: 600;
}

.step-line {
  width: 100px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
}

/* Form Card */
.form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-card h3 {
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff9800;
}

/* Open Now Section */
.open-now-section {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #ff9800;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-weight: 600;
  color: #333;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.countdown-display {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  color: #ff9800;
}

.countdown-display strong {
  font-size: 2rem;
  color: #f57c00;
}

/* File Input */
.image-upload-section {
  margin-bottom: 1rem;
}

.file-input-hidden {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 3px dashed #e2e8f0;
  border-radius: 15px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.file-upload-label:hover {
  border-color: #ff9800;
  background: #f0f4ff;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.file-upload-label > span:nth-child(2) {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.upload-hint {
  font-size: 0.9rem;
  color: #999;
}

.btn-upload-images {
  margin-top: 1rem;
  background: #2196f3;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-upload-images:hover:not(:disabled) {
  background: #1976d2;
  transform: translateY(-2px);
}

.btn-upload-images:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.uploaded-images {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #e8f5e9;
  border-radius: 15px;
  border: 2px solid #4caf50;
}

.uploaded-count {
  color: #2e7d32;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.image-preview-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #4caf50;
  aspect-ratio: 1;
}

.image-preview-item img,
.image-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(244, 67, 54, 0.9);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  line-height: 1;
  padding: 0;
}

.btn-remove-image:hover {
  background: #f44336;
  transform: scale(1.1);
}

/* Buttons */
.btn-next,
.btn-back-auction,
.btn-submit-auction {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-next {
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  color: white;
  width: 100%;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}



.btn-submit-auction {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  flex: 2;
}

.btn-submit-auction:hover,
.btn-back-auction:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #fc8181;
}

.alert-success {
  background: #c6f6d5;
  color: #2f855a;
  border: 1px solid #9ae6b4;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background: #4caf50;
  color: white;
}

.toast-error {
  background: #f44336;
  color: white;
}

@media (max-width: 768px) {
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .steps-indicator {
    flex-direction: column;
  }
  
  .step-line {
    width: 3px;
    height: 50px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-back,
  .btn-submit-auction {
    width: 100%;
  }
}

/* Countdown Modal */
.countdown-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.countdown-modal-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.countdown-modal-content h2 {
  color: #4caf50;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.countdown-modal-content > p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.countdown-timer-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

#countdown-value {
  font-size: 6rem;
  font-weight: 700;
  color: #ff9800;
  line-height: 1;
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.countdown-label {
  font-size: 1.5rem;
  color: #666;
  margin-top: 0.5rem;
}

.countdown-info {
  color: #999;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.btn-close-countdown {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-close-countdown:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Validation Styles */
.validation-error {
  margin-top: 0.5rem;
  padding: 0.8rem;
  background: #ffebee;
  border: 1px solid #f44336;
  border-radius: 8px;
  color: #c62828;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.validation-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.validation-modal-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.5s ease;
}

.validation-modal-content h3 {
  color: #ff9800;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.validation-modal-content p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.validation-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff9800;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem auto;
}

.validation-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.validation-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #555;
}

.step-icon {
  font-size: 1.2rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 152, 0, 0.3);
  border-top-color: #ff9800;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-submit-auction:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit-auction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}/
* Validation Error Styles */
.validation-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.validation-error::before {
  content: '⚠️';
  font-size: 1rem;
}

/* Input Error State */
input.error,
textarea.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

input.error:focus,
textarea.error:focus {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3) !important;
}

/* Success State */
input.success,
textarea.success {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2) !important;
}

/* Real-time Validation Feedback */
.form-group {
  position: relative;
}

.validation-success {
  color: #27ae60;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.validation-success::before {
  content: '✅';
  font-size: 1rem;
}

/* Time Validation Specific */
.time-validation-info {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-top: 0.25rem;
  font-style: italic;
}

.time-validation-info.valid {
  color: #27ae60;
}

.time-validation-info.invalid {
  color: #e74c3c;
}/* 
Button Disabled State */
.btn-next.disabled,
.btn-next:disabled {
  background: #bdc3c7 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.6;
}

.btn-next.disabled:hover,
.btn-next:disabled:hover {
  background: #bdc3c7 !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-submit-auction.disabled,
.btn-submit-auction:disabled {
  background: #bdc3c7 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.6;
}

/* Form Field Validation States */
.form-group input:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

/* Required Field Indicator */
.form-group label::after {
  content: '';
}

.form-group label[data-required="true"]::after {
  content: ' *';
  color: #e74c3c;
  font-weight: bold;
}

/* Validation Status Indicator */
.validation-status {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.validation-status.valid {
  color: #27ae60;
}

.validation-status.invalid {
  color: #e74c3c;
}

/* Form Progress Indicator */
.form-progress {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  text-align: center;
}

.form-progress.complete {
  background: rgba(39, 174, 96, 0.2);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-progress.incomplete {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.3);
}/* 
Button Container */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button-help-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 300px;
}

/* Enhanced Button States */
.btn-next {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-next:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-next:not(.disabled):active {
  transform: translateY(0);
}

/* Loading State for Buttons */
.btn-next.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Form Validation Summary */
.validation-summary {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.validation-summary.valid {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #27ae60;
}

.validation-summary.invalid {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

.validation-summary ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
}

.validation-summary li {
  margin-bottom: 0.25rem;
}.auction-detail-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.auction-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.btn-back {
  position: fixed;
  left: 1rem;
  top: 100px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(224, 224, 224, 0.3);
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  z-index: 100;
  color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}

.btn-back:hover {
  background: white;
  border-color: #2196f3;
  color: #2196f3;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  transform: translateX(5px);
}

.auction-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Gallery Section */
.auction-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.thumbnail-list {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  flex-shrink: 0;
}

.thumbnail:hover {
  border-color: #2196f3;
}

.thumbnail.active {
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.thumbnail-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Section */
.auction-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auction-detail-title {
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.auction-detail-name {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.auction-description {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.auction-description h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0 0 0.8rem 0;
}

.auction-description p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
}

.auction-price-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: #f0f9ff;
  border-radius: 10px;
  border: 2px solid #2196f3;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-size: 1rem;
  color: #666;
}

.price-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4caf50;
}

.price-value.current {
  color: #f44336;
}

/* Countdown Section */
.countdown-section {
  padding: 2rem;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-radius: 15px;
  text-align: center;
  border: 2px solid #f44336;
}

.countdown-section h3 {
  font-size: 1.3rem;
  color: #333;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}

.countdown-big-display {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.countdown-big-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
}

.countdown-big-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #f44336;
  line-height: 1;
  font-family: 'Courier New', monospace;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.2);
  min-width: 80px;
  text-align: center;
}

.countdown-big-label {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-completed {
  font-size: 1.8rem;
  color: #4caf50;
  font-weight: 700;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
}

/* Auction Details */
.auction-details {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.auction-details h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0 0 1rem 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: #666;
  font-weight: 500;
}

.detail-value {
  color: #333;
  font-weight: 600;
}

.status-badge {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-badge.pending {
  background: #fff3e0;
  color: #ff9800;
}

.status-badge.active {
  background: #e8f5e9;
  color: #4caf50;
}

.status-badge.ended {
  background: #f5f5f5;
  color: #9e9e9e;
}

/* User Info */
.user-info-section {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.user-info-section h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0 0 1rem 0;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2196f3;
}

.user-details {
  flex: 1;
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.3rem 0;
}

.user-email {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Action Section */
.action-section {
  margin-top: 1rem;
}

.btn-notify,
.btn-join-bid {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-notify {
  background: #ff9800;
  color: white;
}

.btn-notify:hover {
  background: #f57c00;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 152, 0, 0.4);
}

.btn-join-bid {
  background: #4caf50;
  color: white;
}

.btn-join-bid:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

/* Loading & Error */
.loading-container,
.error-container {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.error-container button {
  padding: 0.8rem 2rem;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
  .auction-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .countdown-big-number {
    font-size: 2.5rem;
    padding: 0.8rem 1rem;
    min-width: 60px;
  }
  
  .auction-detail-title {
    font-size: 1.5rem;
  }
}
/* ========================================
   COMPACT COUNTDOWN (Bottom of page)
   ======================================== */
.auction-countdown-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.countdown-compact {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border: 2px solid #f39c12;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

/* Price - Compact */
.countdown-price-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.price-label-compact {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.price-value-compact {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Round - Compact */
.countdown-round-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.round-label-compact {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.round-timer-compact {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  animation: pulse 1s infinite;
  white-space: nowrap;
}

/* Thin Progress Bar */
.countdown-progress-thin {
  flex: 1;
  height: 6px;
  background: #ecf0f1;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.countdown-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s linear;
  box-shadow: 0 0 8px currentColor;
}

/* Status - Compact */
.countdown-status-compact {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Waiting - Compact */
.countdown-waiting-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.waiting-icon-compact {
  font-size: 1.5rem;
  animation: rotate 2s linear infinite;
}

.waiting-text-compact {
  font-size: 0.95rem;
  color: #7f8c8d;
  font-weight: 500;
}

/* Sold Temp - Compact */
.countdown-sold-temp-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
  padding: 0.5rem;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border-radius: 6px;
  color: white;
}

.temp-icon-compact {
  font-size: 1.5rem;
}

.temp-text-compact {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Disconnected - Compact */
.countdown-disconnected-compact {
  padding: 0.25rem 0.75rem;
  background: #e74c3c;
  color: white;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: blink 1s infinite;
}

/* ========================================
   WINNER BANNER (Simple - Above Grid)
   ======================================== */
.winner-banner {
  margin: 2rem auto 1rem;
  max-width: 500px;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border: 3px solid #f39c12;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.winner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.winner-avatar-simple {
  position: relative;
  flex-shrink: 0;
}

.winner-crown-top {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  animation: bounce 1s ease-in-out infinite;
}

.winner-avatar-img,
.winner-avatar-placeholder-simple {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.winner-avatar-placeholder-simple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: 700;
}

.winner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: transparent !important;
}

.winner-label {
  font-size: 0.95rem;
  color: #7f8c8d;
  font-weight: 600;
}

.winner-display-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
}

.btn-goto-chat {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-goto-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .countdown-compact {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .price-value-compact {
    font-size: 1.2rem;
  }
  
  .round-timer-compact {
    font-size: 1.2rem;
  }
  
  .winner-card {
    padding: 2rem 2.5rem;
  }
  
  .winner-title {
    font-size: 1.8rem;
  }
  
  .winner-avatar,
  .winner-avatar-placeholder {
    width: 120px;
    height: 120px;
  }
  
  .winner-name {
    font-size: 1.5rem;
  }
}
.react-grid-layout {
  position: relative;
  transition: height 200ms ease;
}
.react-grid-item {
  transition: all 200ms ease;
  transition-property: left, top, width, height;
}
.react-grid-item img {
  pointer-events: none;
  user-select: none;
}
.react-grid-item.cssTransforms {
  transition-property: transform, width, height;
}
.react-grid-item.resizing {
  transition: none;
  z-index: 1;
  will-change: width, height;
}

.react-grid-item.react-draggable-dragging {
  transition: none;
  z-index: 3;
  will-change: transform;
}

.react-grid-item.dropping {
  visibility: hidden;
}

.react-grid-item.react-grid-placeholder {
  background: red;
  opacity: 0.2;
  transition-duration: 100ms;
  z-index: 2;
  user-select: none;
}

.react-grid-item.react-grid-placeholder.placeholder-resizing {
  transition: none;
}

.react-grid-item > .react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
}

.react-grid-item:hover > .react-resizable-handle {
  opacity: 1;
}

.react-grid-item > .react-resizable-handle::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-right: 2px solid rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}

.react-resizable-hide > .react-resizable-handle {
  display: none;
}

.react-grid-item > .react-resizable-handle.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
  transform: rotate(90deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  cursor: se-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-nw {
  top: 0;
  left: 0;
  cursor: nw-resize;
  transform: rotate(180deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-ne {
  top: 0;
  right: 0;
  cursor: ne-resize;
  transform: rotate(270deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-w,
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
  top: 50%;
  margin-top: -10px;
  cursor: ew-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-w {
  left: 0;
  transform: rotate(135deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
  right: 0;
  transform: rotate(315deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-n,
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
  left: 50%;
  margin-left: -10px;
  cursor: ns-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-n {
  top: 0;
  transform: rotate(225deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
  bottom: 0;
  transform: rotate(45deg);
}
.bidding-room {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 2rem;
}

/* Header with reset button */
.bidding-room-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.back-btn {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
  display: flex;
  align-items: center;
}

.back-btn:hover {
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.5);
  transform: translateY(-2px);
}

.reset-layout-btn {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.reset-layout-btn:hover {
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

.layout-hint {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-left: auto;
}

/* Toggle Panel Buttons */
.toggle-panel-btn {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(76, 175, 80, 0.3);
}

.toggle-panel-btn:hover {
  box-shadow: 0 5px 18px rgba(76, 175, 80, 0.5);
}

.toggle-panel-btn.collapsed {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  box-shadow: 0 3px 12px rgba(255, 152, 0, 0.3);
}

.toggle-panel-btn.collapsed:hover {
  box-shadow: 0 5px 18px rgba(255, 152, 0, 0.5);
}

/* Grid Layout - Fixed height 600px */
.bidding-grid-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 0 2rem;
  padding-right: 3rem !important; /* Extra space for right resize handle */
  position: relative;
  height: 600px !important;
  overflow: visible !important; /* Allow resize handles to show */
}

.react-grid-layout {
  height: 600px !important;
  position: relative !important;
  overflow: visible !important;
}

.grid-item {
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s, opacity 0.3s;
  height: 600px !important;
  max-height: 600px !important;
  min-height: 600px !important;
}

.grid-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Hide items that are too small */
.grid-item[style*="width: 0"] {
  opacity: 0;
  pointer-events: none;
}

/* Ensure resize handles are always visible */
.react-grid-item {
  overflow: visible !important;
}

/* Specific height constraints for each grid item */
.chat-box.grid-item {
  max-height: 510px !important;
  height: 510px !important;
}

.bid-history-sidebar.grid-item {
  max-height: 510px !important;
  height: 510px !important;
}

.product-section.grid-item {
  max-height: 500px !important;
  height: 500px !important;
}

.bidding-section.grid-item {
  height: auto;
  min-height: 300px;
}

/* Drag Handle */
.drag-handle {
  background: white;
  color: #333;
  padding: 0.8rem 1rem;
  cursor: move;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
  flex-shrink: 0;
  border-bottom: 2px solid #f0f0f0;
}

.drag-handle:active {
  cursor: grabbing;
  background: #f8f9fa;
}

.drag-icon {
  font-size: 1.2rem;
  opacity: 0.5;
  color: #999;
}

.drag-handle h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  flex: 1;
}

/* Collapse Button in Header */
.collapse-btn {
  background: transparent;
  border: none;
  color: #999;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s;
  margin-left: auto;
}

.collapse-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.collapse-btn:active {
  transform: scale(0.95);
}

/* Chat Box */
.chat-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 510px;
}

.chat-box .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.chat-placeholder {
  text-align: center;
  color: #999;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Chat Input Container */
.chat-input-container {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: 2px solid #f0f0f0;
  background: white;
  flex-shrink: 0;
  position: relative;
}

.chat-input {
  flex: 1;
  padding: 0.7rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.chat-input:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.chat-send-btn {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
  white-space: nowrap;
}

.chat-send-btn:hover {
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.5);
}

.chat-send-btn:active {
  opacity: 0.9;
}

/* Product Section */
.product-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 500px;
}

.product-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.product-image-carousel {
  position: relative;
  width: 100%;
  height: 250px;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-btn-left,
.carousel-btn-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn-left:hover,
.carousel-btn-right:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-left {
  left: 15px;
}

.carousel-btn-right {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.no-image {
  font-size: 3rem;
  color: #ccc;
}

.product-name {
  font-size: 1.7rem;
  color: #333;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.auction-name-text {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.product-description-text {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}

/* Bidding Section */
.bidding-section {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bidding-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.status-dot.connected {
  background: #4caf50;
}

.status-dot.disconnected {
  background: #f44336;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.current-price-box {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  border-radius: 15px;
  color: white;
  margin-bottom: 1.5rem;
}

.price-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.highest-bidder {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.you-leading {
  color: #ffd700;
  font-weight: 600;
}

.total-bids {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.countdown-box {
  text-align: center;
  padding: 1.5rem;
  background: #fff3e0;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.countdown-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.countdown-time {
  font-size: 2rem;
  font-weight: 700;
  color: #ff9800;
  font-family: 'Courier New', monospace;
}

.countdown-ended {
  font-size: 1.5rem;
  color: #f44336;
  font-weight: 600;
}

/* Bid Actions */
.bid-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-bids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quick-bid-btn {
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  color: white;
  border: none;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.quick-bid-btn:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.bid-label {
  font-size: 1.2rem;
  font-weight: 700;
}

.bid-result {
  font-size: 0.9rem;
  opacity: 0.9;
}

.custom-bid-toggle {
  background: white;
  color: #ff9800;
  border: 2px solid #ff9800;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.custom-bid-toggle:hover {
  background: #ff9800;
  color: white;
}

.custom-bid-form {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 10px;
}

.custom-bid-input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.custom-bid-input:focus {
  border-color: #ff9800;
}

.custom-bid-submit {
  background: #ff9800;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.custom-bid-submit:hover {
  background: #f44336;
}

.leading-message {
  text-align: center;
  padding: 2rem;
  background: #e8f5e9;
  border-radius: 10px;
  color: #2e7d32;
}

.trophy {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

/* Bid History Sidebar */
.bid-history-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 510px;
}

.bid-history-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.bid-history-list::-webkit-scrollbar {
  width: 6px;
}

.bid-history-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.no-bids {
  text-align: center;
  color: #999;
  padding: 2rem;
}

.bid-history-item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.bid-history-item:hover {
  background: #e9ecef;
}

.bid-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bid-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff9800;
}

.bid-username {
  font-weight: 600;
  color: #333;
}

.bid-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.bid-amount {
  font-weight: 700;
  color: #ff9800;
  font-size: 1.1rem;
}

.bid-time {
  font-size: 0.8rem;
  color: #999;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: white;
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s;
  min-width: 250px;
  font-size: 1rem;
  font-weight: 600;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  border-left: 5px solid #4caf50;
  color: #2e7d32;
  background: #e8f5e9;
}

.toast-error {
  border-left: 5px solid #f44336;
  color: #c62828;
  background: #ffebee;
}

.toast-info {
  border-left: 5px solid #2196f3;
  color: #1565c0;
  background: #e3f2fd;
}

/* Loading & Error */
.loading-container,
.error-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #666;
}

/* Responsive */
@media (max-width: 1200px) {
  .bidding-grid-layout {
    width: 100% !important;
  }
}

@media (max-width: 1024px) {
  .bidding-room-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .quick-bids {
    grid-template-columns: 1fr;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .product-name {
    font-size: 1.8rem;
  }
  
  .auction-name-text {
    font-size: 1.1rem;
  }
  
  .product-description-text {
    font-size: 1rem;
  }
  
  .reset-layout-btn {
    width: 100%;
  }
}

/* Floating Bidding Panel */
.floating-bidding-panel {
  position: fixed;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  resize: both;
  min-width: 320px;
  min-height: 320px;
  max-width: 450px;
  max-height: 500px;
}

.bidding-panel-header {
  background: white;
  color: #333;
  padding: 0.8rem 1rem;
  cursor: move;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
  border-bottom: 2px solid #f0f0f0;
  flex-shrink: 0;
}

.bidding-panel-header:active {
  cursor: grabbing;
  background: #f8f9fa;
}

.bidding-panel-header .drag-icon {
  font-size: 1.2rem;
  opacity: 0.5;
  color: #999;
}

.bidding-panel-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.status-dot-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

.status-dot-mini.connected {
  background: #4caf50;
}

.status-dot-mini.disconnected {
  background: #f44336;
}

.bidding-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bidding-panel-content::-webkit-scrollbar {
  width: 6px;
}

.bidding-panel-content::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

/* Price Fieldset with Gold Border */
.price-fieldset {
  border: 3px solid #ffd700;
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
  margin: 0;
}

.price-fieldset legend {
  font-size: 1rem;
  font-weight: 700;
  color: #d4af37;
  padding: 0 0.5rem;
}

.current-price-display {
  font-size: 2rem;
  font-weight: 800;
  color: #d4af37;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.bidder-status {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.status-leading {
  color: #4caf50;
  font-weight: 700;
}

.status-normal {
  color: #666;
  font-weight: 500;
}

/* Quick Bid Buttons Row */
.quick-bids-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.quick-bid-btn-new {
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 700;
  font-size: 1rem;
}

.quick-bid-green {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.quick-bid-green:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.quick-bid-yellow {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.quick-bid-yellow:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.quick-bid-red {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.quick-bid-red:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.6);
}

.quick-bid-btn-new:active:not(:disabled) {
  transform: translateY(-1px);
}

.quick-bid-btn-new:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ccc !important;
  box-shadow: none !important;
}

/* Custom Bid Row */
.custom-bid-row {
  display: flex;
  gap: 0.8rem;
}

.custom-bid-input-new {
  flex: 1;
  padding: 0.9rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.custom-bid-input-new:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.custom-bid-input-new:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.bid-submit-btn {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: white;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
  white-space: nowrap;
}

.bid-submit-btn:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.6);
}

.bid-submit-btn:active:not(:disabled) {
  opacity: 0.9;
}

.bid-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ccc;
}

/* Leading Message Compact */
.leading-message-compact {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 12px;
  border: 2px solid #4caf50;
}

.trophy-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.leading-message-compact p {
  margin: 0;
  font-weight: 700;
  color: #2e7d32;
  font-size: 1.1rem;
}

/* Compact Panel Info */
.panel-info-compact {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #666;
}

.info-compact {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.info-compact strong {
  color: #333;
  font-weight: 700;
}

.info-separator {
  color: #ccc;
  font-weight: 700;
}

/* Toggle Collapse Button - Remove */

/* Collapsed Icons */
.collapsed-icon {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 1000;
}

.collapsed-icon:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.collapsed-chat {
  right: 20px;
}

.collapsed-history {
  right: 80px;
}


/* Bid History Cards - New Design */
.bid-card {
  background: white;
  border-radius: 10px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
  border-left: 3px solid #4caf50;
}

.bid-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.bid-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.bid-user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bid-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4caf50;
}

.bid-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.bid-username-small {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #ff9800 0%, #f44336 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
  letter-spacing: 0.3px;
}

.bid-amount-highlight {
  font-weight: 700;
  font-size: 1.1rem;
  color: #4caf50;
  text-shadow: 0 1px 2px rgba(76, 175, 80, 0.2);
}

.bid-card-bottom {
  display: flex;
  justify-content: flex-start;
  padding-left: 2.3rem;
}

.bid-time-small {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

.no-bids {
  text-align: center;
  color: #999;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}


/* React Grid Layout Resize Handles */
.react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 100 !important; /* Higher z-index */
}

.react-resizable-handle-e {
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
  width: 20px;
  height: 100%;
  background: rgba(33, 150, 243, 0.1);
  border-right: 3px solid transparent;
  transition: all 0.3s;
}

.react-resizable-handle-e:hover,
.react-grid-item:hover .react-resizable-handle-e {
  background: rgba(33, 150, 243, 0.3);
  border-right-color: #2196f3;
  width: 25px;
}

.react-resizable-handle-w {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
  width: 20px;
  height: 100%;
  background: rgba(33, 150, 243, 0.1);
  border-left: 3px solid transparent;
  transition: all 0.3s;
}

.react-resizable-handle-w:hover,
.react-grid-item:hover .react-resizable-handle-w {
  background: rgba(33, 150, 243, 0.3);
  border-left-color: #2196f3;
  width: 25px;
}

.react-resizable-handle-se {
  right: -10px;
  bottom: -10px;
  cursor: se-resize;
}

.react-resizable-handle-sw {
  left: -10px;
  bottom: -10px;
  cursor: sw-resize;
}

/* Visual indicator for resize handles */
.react-resizable-handle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(33, 150, 243, 0.3);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.grid-item:hover .react-resizable-handle::after {
  opacity: 1;
}

/* Fix resize handle at right edge - make it visible */
.react-grid-item:last-child .react-resizable-handle-e,
.react-grid-item[style*="left: 100%"] .react-resizable-handle-e {
  right: 0 !important;
  width: 30px !important;
  background: rgba(33, 150, 243, 0.1);
  border-left: 3px solid #2196f3;
}

.react-grid-item:last-child .react-resizable-handle-e::after,
.react-grid-item[style*="left: 100%"] .react-resizable-handle-e::after {
  opacity: 1;
}


/* Grid Layout Placeholder - Thu nhỏ vùng đỏ khi drag */
.react-grid-placeholder {
  background: rgba(244, 67, 54, 0.2) !important;
  border: 2px dashed #f44336 !important;
  border-radius: 10px !important;
  opacity: 0.5 !important;
  z-index: 1 !important;
  max-height: 510px !important; /* Match grid item max height */
}

/* Giảm chiều cao tối thiểu của các grid items */
.grid-item {
  min-height: 100px !important;
}


/* Collapsed Bidding Panel */
.floating-bidding-panel.collapsed {
  height: auto !important;
  min-height: auto !important;
}

.floating-bidding-panel .collapse-btn {
  margin-left: auto;
}


/* Chat Messages - Beautiful Bubbles */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
}

.chat-message {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  animation: fadeInUp 0.3s ease;
}

/* My messages - align right, no avatar */
.chat-message-mine {
  flex-direction: row-reverse;
}

.chat-message-mine .chat-avatar {
  display: none;
}

.chat-message-mine .chat-message-header {
  flex-direction: row-reverse;
}

.chat-message-mine .chat-message-content {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%) !important;
  color: white !important;
  border-top-left-radius: 18px;
  border-top-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3) !important;
}

.chat-message-mine .chat-message-content::before {
  display: none;
}

.chat-message-mine .chat-message-content::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 0 8px;
  border-color: #4caf50 transparent transparent transparent;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chat-message-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.chat-username {
  font-weight: 600;
  font-size: 0.85rem;
  color: #2c3e50;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chat-time {
  font-size: 0.75rem;
  color: #999;
  margin-left: auto;
}

.chat-message-content {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 0.7rem 1rem;
  border-radius: 18px;
  border-top-left-radius: 4px;
  color: #1565c0;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
  position: relative;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: pre-wrap;
}

.chat-message-content::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #e3f2fd transparent transparent;
}

/* Alternate colors for different users - based on user color class */
.chat-message.user-color-0:not(.chat-message-mine) .chat-message-content {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.chat-message.user-color-0:not(.chat-message-mine) .chat-message-content::before {
  border-color: transparent #e3f2fd transparent transparent;
}

.chat-message.user-color-1:not(.chat-message-mine) .chat-message-content {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #ffa726;
  box-shadow: 0 2px 8px rgba(156, 39, 176, 0.15);
}

.chat-message.user-color-1:not(.chat-message-mine) .chat-message-content::before {
  border-color: transparent #f3e5f5 transparent transparent;
}

.chat-message.user-color-2:not(.chat-message-mine) .chat-message-content {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.chat-message.user-color-2:not(.chat-message-mine) .chat-message-content::before {
  border-color: transparent #fff3e0 transparent transparent;
}

.chat-message.user-color-3:not(.chat-message-mine) .chat-message-content {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
}

.chat-message.user-color-3:not(.chat-message-mine) .chat-message-content::before {
  border-color: transparent #e8f5e9 transparent transparent;
}

.chat-placeholder {
  text-align: center;
  color: #999;
  padding: 3rem 1rem;
  font-size: 0.9rem;
  font-style: italic;
}

/* Character counter */
.chat-char-count {
  font-size: 0.75rem;
  color: #999;
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s;
}

.chat-char-count.warning {
  color: #f44336;
  font-weight: 600;
}

/* Disabled chat input styles */
.chat-input:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.chat-send-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.chat-send-btn:disabled:hover {
  background-color: #ccc;
  transform: none;
  box-shadow: none;
}.auctions-list-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.auctions-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: #666;
}

/* New Auction Filters */
.auction-filters {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

/* Hàng 1: Trạng thái, Tìm kiếm, Sắp xếp */
.filter-row-1 {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 2: Từ ngày đến ngày */
.filter-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 3: Giá từ giá đến */
.filter-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 4: Hiển thị kết quả */
.filter-row-4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

/* Filter item chung */
.filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-item label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.filter-item select,
.filter-item input {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.filter-item input[type="date"] {
  cursor: pointer;
}

.filter-item input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.filter-item input[type="date"]::-webkit-inner-spin-button,
.filter-item input[type="date"]::-webkit-clear-button {
  display: none;
}

.filter-item input[type="date"]::-webkit-datetime-edit-text,
.filter-item input[type="date"]::-webkit-datetime-edit-month-field,
.filter-item input[type="date"]::-webkit-datetime-edit-day-field,
.filter-item input[type="date"]::-webkit-datetime-edit-year-field {
  color: transparent;
  background: transparent;
}

.filter-item input[type="date"]:focus::-webkit-datetime-edit-text,
.filter-item input[type="date"]:focus::-webkit-datetime-edit-month-field,
.filter-item input[type="date"]:focus::-webkit-datetime-edit-day-field,
.filter-item input[type="date"]:focus::-webkit-datetime-edit-year-field {
  color: #333;
}

.filter-item input[type="date"]:not(:placeholder-shown)::-webkit-datetime-edit-text,
.filter-item input[type="date"]:not(:placeholder-shown)::-webkit-datetime-edit-month-field,
.filter-item input[type="date"]:not(:placeholder-shown)::-webkit-datetime-edit-day-field,
.filter-item input[type="date"]:not(:placeholder-shown)::-webkit-datetime-edit-year-field {
  color: #333;
}

/* Placeholder cho date input khi chưa có giá trị */
.filter-item input[type="date"]:invalid {
  color: #999;
}

.filter-item input[type="date"]:invalid:before {
  content: attr(placeholder);
  color: #999;
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.filter-item input[type="date"]:focus:invalid:before,
.filter-item input[type="date"]:valid:before {
  display: none;
}

.filter-item select:focus,
.filter-item input:focus {
  border-color: #2196f3;
}

/* Filter results */
.filter-results {
  color: #666;
  font-size: 1rem;
}

.filter-results strong {
  color: #2196f3;
  font-size: 1.1rem;
}

/* Clear button */
.filter-clear-btn {
  padding: 0.8rem 1.5rem;
  background: white;
  color: #666;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.filter-clear-btn:hover {
  border-color: #2196f3;
  color: #2196f3;
}

/* Responsive cho auction filters */
@media (max-width: 768px) {
  .filter-row-1,
  .filter-row-2,
  .filter-row-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-row-4 {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    text-align: center;
  }
  
  .auction-filters {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .auction-filters {
    padding: 1rem;
  }
  
  .filter-item select,
  .filter-item input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .filter-clear-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Results Info */
.results-info {
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 1rem;
}

.results-info strong {
  color: #2196f3;
  font-size: 1.2rem;
}

/* Auctions Grid */
.auctions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.auction-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s;
  cursor: pointer;
}

.auction-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.auction-image {
  position: relative;
  width: 100%;
  height: 250px;
  background: #f5f5f5;
  overflow: hidden;
}

.auction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.status-badge.pending {
  background: rgba(255, 152, 0, 0.9);
  color: white;
}

.status-badge.active {
  background: rgba(244, 67, 54, 0.9);
  color: white;
  animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.auction-info {
  padding: 1.5rem;
}

.auction-info h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.auction-name {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4caf50;
}

.countdown-info {
  padding: 1rem;
  background: #fff3e0;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.countdown-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff9800;
}

.bids-info {
  padding: 0.8rem;
  background: #ffebee;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
  color: #f44336;
  font-weight: 600;
}

.btn-view-auction {
  width: 100%;
  padding: 0.9rem;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-auction:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: #999;
}

.no-results p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Loading */
.loading-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #666;
}

/* Responsive cho các phần khác */
@media (max-width: 768px) {
  .auctions-grid {
    grid-template-columns: 1fr;
  }
  
  .auctions-list-container {
    padding: 1rem;
  }
}
.my-wins-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.my-wins-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-home {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.page-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* No Wins State */
.no-wins {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-wins h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 1rem 0;
}

.no-wins p {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.btn-browse {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-browse:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Wins Grid */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.win-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.win-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.win-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f7fa;
}

.win-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.unread-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.win-content {
  padding: 1.5rem;
}

.win-product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.win-auction-name {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.win-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.price-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27ae60;
}

.win-seller {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.seller-label {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.seller-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seller-avatar,
.seller-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.seller-avatar-placeholder {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.seller-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
}

.win-time {
  font-size: 0.85rem;
  color: #95a5a6;
  margin-bottom: 1rem;
}

.btn-chat {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.chat-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .wins-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-select-sort,
  .filter-select-payment {
    justify-self: stretch;
  }

  .filter-price-group {
    max-width: 100%;
  }

  .filter-input,
  .filter-select,
  .filter-input-price,
  .btn-reset-filter {
    width: 100%;
  }
}

/* Filters Section */
.filters-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 300px 300px;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.filter-row-price {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.filter-input {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-input:focus {
  border-color: #3498db;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  background: white;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-select:focus {
  border-color: #3498db;
}

.filter-select-sort {
  justify-self: center;
}

.filter-select-payment {
  justify-self: end;
}

.filter-price-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
}

.filter-input-price {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.filter-input-price:focus {
  border-color: #3498db;
}

.price-separator {
  font-size: 1.2rem;
  color: #7f8c8d;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-reset-filter {
  padding: 0.75rem 2rem;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 300px;
}

.btn-reset-filter:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.filter-results {
  text-align: center;
  font-size: 0.95rem;
  color: #7f8c8d;
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid #ecf0f1;
}
/* New Auction Filters for MyWins */
.auction-filters {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

/* Hàng 1: Tìm kiếm, Sắp xếp, Trạng thái thanh toán */
.filter-row-1 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 2: Giá từ đến */
.filter-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 3: Trống */
.filter-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 4: Hiển thị kết quả */
.filter-row-4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

/* Filter item chung */
.filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-item label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.filter-item select,
.filter-item input {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.filter-item select:focus,
.filter-item input:focus {
  border-color: #2196f3;
}

/* Filter results */
.filter-results {
  color: #666;
  font-size: 1rem;
}

.filter-results strong {
  color: #2196f3;
  font-size: 1.1rem;
}

/* Clear button */
.filter-clear-btn {
  padding: 0.8rem 1.5rem;
  background: white;
  color: #666;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.filter-clear-btn:hover {
  border-color: #2196f3;
  color: #2196f3;
}

/* Responsive cho auction filters trong MyWins */
@media (max-width: 768px) {
  .filter-row-1,
  .filter-row-2,
  .filter-row-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-row-4 {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    text-align: center;
  }
  
  .auction-filters {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .auction-filters {
    padding: 1rem;
  }
  
  .filter-item select,
  .filter-item input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .filter-clear-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}.my-auctions-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.my-auctions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-home {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.page-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* No Auctions State */
.no-auctions {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-auctions h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 1rem 0;
}

.no-auctions p {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.btn-browse {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-browse:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Auctions Grid */
.auctions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.auction-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.auction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.auction-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f7fa;
}

.auction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.auction-content {
  padding: 1.5rem;
}

.auction-product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.auction-name {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.auction-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.winner-price {
  background: #e8f8f5;
}

.price-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e74c3c;
}

.auction-time {
  font-size: 0.85rem;
  color: #95a5a6;
  margin-bottom: 0.5rem;
}

.btn-chat {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-view {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.chat-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Filters Section */
.filters-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 300px 300px;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.filter-row-price {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.filter-input {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-input:focus {
  border-color: #3498db;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  background: white;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-select:focus {
  border-color: #3498db;
}

.filter-select-sort {
  justify-self: center;
}

.filter-select-payment {
  justify-self: end;
}

.filter-price-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
}

.filter-input-price {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.filter-input-price:focus {
  border-color: #3498db;
}

.price-separator {
  font-size: 1.2rem;
  color: #7f8c8d;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-reset-filter {
  padding: 0.75rem 2rem;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 300px;
}

.btn-reset-filter:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.filter-results {
  text-align: center;
  font-size: 0.95rem;
  color: #7f8c8d;
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid #ecf0f1;
}

/* Responsive */
@media (max-width: 768px) {
  .auctions-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-select-sort,
  .filter-select-payment {
    justify-self: stretch;
  }

  .filter-price-group {
    max-width: 100%;
  }

  .filter-input,
  .filter-select,
  .filter-input-price,
  .btn-reset-filter {
    width: 100%;
  }
}

/* Payment Status for Admin */
.payment-status-admin {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 0.75rem;
}

.payment-row-admin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.payment-label-admin {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.payment-paid-admin {
  font-size: 1rem;
  font-weight: 600;
  color: #27ae60;
}

.payment-remaining-admin {
  font-size: 1rem;
  font-weight: 600;
  color: #e74c3c;
}

.btn-mark-completed {
  width: 100%;
  padding: 0.6rem;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-mark-completed:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}
/* Winner Info */
.winner-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #e8f5e8;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.winner-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.winner-name {
  font-size: 1rem;
  font-weight: 600;
  color: #27ae60;
}/* New A
uction Filters for MyAuctions */
.auction-filters {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

/* Hàng 1: Tìm kiếm, Sắp xếp, Trạng thái */
.filter-row-1 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 2: Giá khởi điểm từ đến */
.filter-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 3: Giá thắng từ đến */
.filter-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 4: Hiển thị kết quả */
.filter-row-4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

/* Filter item chung */
.filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-item label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.filter-item select,
.filter-item input {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.filter-item select:focus,
.filter-item input:focus {
  border-color: #2196f3;
}

/* Filter results */
.filter-results {
  color: #666;
  font-size: 1rem;
}

.filter-results strong {
  color: #2196f3;
  font-size: 1.1rem;
}

/* Clear button */
.filter-clear-btn {
  padding: 0.8rem 1.5rem;
  background: white;
  color: #666;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.filter-clear-btn:hover {
  border-color: #2196f3;
  color: #2196f3;
}

/* Responsive cho auction filters trong MyAuctions */
@media (max-width: 768px) {
  .filter-row-1,
  .filter-row-2,
  .filter-row-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-row-4 {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    text-align: center;
  }
  
  .auction-filters {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .auction-filters {
    padding: 1rem;
  }
  
  .filter-item select,
  .filter-item input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .filter-clear-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}/
* Countdown Styles for MyAuctions */
.auction-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 6px;
}

.countdown-label {
  font-size: 0.85rem;
  color: #3498db;
  font-weight: 500;
}

.countdown-display-small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2980b9;
  font-family: 'Courier New', monospace;
}

.countdown-completed {
  font-size: 0.85rem;
  color: #27ae60;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 4px;
}

/* Responsive countdown */
@media (max-width: 768px) {
  .auction-countdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .countdown-display-small {
    font-size: 0.8rem;
  }
}.payment-sessions-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.payment-sessions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-home {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.page-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* No Sessions State */
.no-sessions {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-sessions h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 1rem 0;
}

.no-sessions p {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

/* Sessions Grid */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.session-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.session-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.session-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f7fa;
}

.session-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.unread-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
  z-index: 2;
}

.payment-status-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.payment-status-badge.paid {
  background: #27ae60;
}

.payment-status-badge.unpaid {
  background: #e74c3c;
}

.session-content {
  padding: 1.5rem;
}

.session-product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.session-auction-name {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.session-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.price-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27ae60;
}

.session-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.winner-label {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.winner-info {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Match MyWins */
  flex-shrink: 0;
}

.winner-avatar,
.winner-avatar-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* Prevent avatar from shrinking */
}

.winner-avatar-placeholder {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.winner-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  /* Remove text overflow restrictions to match MyWins */
}

.session-time {
  font-size: 0.85rem;
  color: #95a5a6;
  margin-bottom: 1rem;
}

.btn-chat {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.chat-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Filters Section - Same as MyWins */
.filters-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 300px 300px;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.filter-row-price {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.filter-input {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-input:focus {
  border-color: #3498db;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  background: white;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-select:focus {
  border-color: #3498db;
}

.filter-select-sort {
  justify-self: center;
}

.filter-select-payment {
  justify-self: end;
}

.filter-price-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
}

.filter-input-price {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.filter-input-price:focus {
  border-color: #3498db;
}

.price-separator {
  font-size: 1.2rem;
  color: #7f8c8d;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-reset-filter {
  padding: 0.75rem 2rem;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 300px;
}

.btn-reset-filter:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.filter-results {
  text-align: center;
  font-size: 0.95rem;
  color: #7f8c8d;
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid #ecf0f1;
}

/* Responsive */
@media (max-width: 768px) {
  .sessions-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-select-sort,
  .filter-select-payment {
    justify-self: stretch;
  }

  .filter-price-group {
    max-width: 100%;
  }

  .filter-input,
  .filter-select,
  .filter-input-price,
  .btn-reset-filter {
    width: 100%;
  }

  /* Fix winner info on mobile */
  .session-winner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .winner-info {
    max-width: 100%;
  }

  .winner-name {
    max-width: 200px;
  }
}
/* New Auction Filters for PaymentSessions */
.auction-filters {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

/* Hàng 1: Tìm kiếm, Sắp xếp, Trạng thái thanh toán */
.filter-row-1 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 2: Giá từ đến */
.filter-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 3: Trống */
.filter-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hàng 4: Hiển thị kết quả */
.filter-row-4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

/* Filter item chung */
.filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-item label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.filter-item select,
.filter-item input {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.filter-item select:focus,
.filter-item input:focus {
  border-color: #2196f3;
}

/* Filter results */
.filter-results {
  color: #666;
  font-size: 1rem;
}

.filter-results strong {
  color: #2196f3;
  font-size: 1.1rem;
}

/* Clear button */
.filter-clear-btn {
  padding: 0.8rem 1.5rem;
  background: white;
  color: #666;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.filter-clear-btn:hover {
  border-color: #2196f3;
  color: #2196f3;
}

/* Responsive cho auction filters trong PaymentSessions */
@media (max-width: 768px) {
  .filter-row-1,
  .filter-row-2,
  .filter-row-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-row-4 {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    text-align: center;
  }
  
  .auction-filters {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .auction-filters {
    padding: 1rem;
  }
  
  .filter-item select,
  .filter-item input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .filter-clear-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}.winner-chat-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.winner-chat-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.btn-back {
  padding: 0.5rem 1rem;
  background: #ecf0f1;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2c3e50;
  font-weight: 600;
}

.btn-back:hover {
  background: #bdc3c7;
  transform: translateX(-3px);
}

.chat-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 1.5rem;
  height: calc(100vh - 200px);
}

/* Product Info Sidebar */
.product-info-sidebar {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-info-sidebar h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.product-image-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f7fa;
}

.product-image-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.product-details-chat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-fieldset {
  border: 1.5px solid #dfe6e9;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0;
}

.info-fieldset legend {
  color: #2c3e50;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 0.5rem;
}

.info-fieldset p {
  color: #7f8c8d;
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.price-display {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.price-label-chat {
  display: block;
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 0.25rem;
}

.price-value-chat {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #27ae60;
}

.description-chat {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-height: 150px;
  overflow-y: auto;
}

.description-chat strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.description-chat p {
  color: #7f8c8d;
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
}

.btn-complete {
  width: 100%;
  padding: 0.75rem;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: auto;
}

.btn-complete:hover {
  background: #229954;
}

/* Chat Area */
.chat-area {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #ecf0f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.chat-header h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  flex: 1;
}

.status-dot {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.status-text {
  white-space: nowrap;
}

.status-dot.connected {
  color: #27ae60;
}

.status-dot.disconnected {
  color: #e74c3c;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.no-messages {
  text-align: center;
  padding: 3rem;
  color: #95a5a6;
}

.message {
  display: flex;
  gap: 0.75rem;
  max-width: 70%;
}

.message-mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-other {
  align-self: flex-start;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.message-sender {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7f8c8d;
}

.message-text {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  word-wrap: break-word;
}

.message-mine .message-text {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border-bottom-right-radius: 4px;
}

.message-other .message-text {
  background: #f1f3f5;
  color: #2c3e50;
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 0.75rem;
  color: #95a5a6;
  padding: 0 0.5rem;
}

.message-input-container {
  padding: 1rem 1.5rem;
  border-top: 1px solid #ecf0f1;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  z-index: 10;
  background: white;
}

.message-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  pointer-events: auto;
  cursor: text;
}

.message-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.message-input:disabled {
  background: #f5f7fa;
  cursor: not-allowed;
  pointer-events: none;
}

.char-count {
  font-size: 0.8rem;
  color: #95a5a6;
}

.btn-send {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-send:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  transform: none;
}
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-send:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
  .chat-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .product-info-sidebar {
    order: 2;
  }
  
  .chat-area {
    order: 1;
    height: 500px;
  }
}

/* Payment Info */
.payment-info {
  background: #e8f5e9;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.payment-row:last-child {
  margin-bottom: 0;
}

.payment-label {
  font-size: 0.9rem;
  color: #555;
}

.payment-paid {
  font-size: 1.1rem;
  font-weight: 700;
  color: #27ae60;
}

.payment-remaining {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e74c3c;
}

.payment-completed {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #27ae60;
  color: white;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
}

.btn-payment {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #d91a60 0%, #c2185b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 26, 96, 0.4);
}

/* System Message */
.message-system {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem 0;
}

.system-message-content {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  max-width: 80%;
}

.message-system .message-time {
  font-size: 0.75rem;
  color: #95a5a6;
  margin-top: 0.25rem;
}

/* Payment Modal */
.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.payment-modal {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
}

.payment-modal-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.3rem;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #95a5a6;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  background: #ecf0f1;
  color: #2c3e50;
}

.payment-modal-body {
  padding: 1.5rem;
}

.payment-summary {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row.highlight {
  padding-top: 0.75rem;
  border-top: 2px solid #dee2e6;
  font-size: 1.1rem;
}

.text-success {
  color: #27ae60;
}

.text-danger {
  color: #e74c3c;
}

.payment-input-group {
  margin-bottom: 1.5rem;
}

.payment-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.payment-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #dfe6e9;
  border-radius: 8px;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s;
}

.payment-input:focus {
  border-color: #d91a60;
}

.payment-hints {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.hint-text {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.quick-amount-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-quick-amount {
  padding: 0.75rem;
  background: white;
  border: 2px solid #dfe6e9;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-quick-amount:hover {
  border-color: #d91a60;
  color: #d91a60;
  background: #fff5f8;
}

.btn-quick-amount.btn-full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #d91a60 0%, #c2185b 100%);
  color: white;
  border: none;
}

.btn-quick-amount.btn-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 26, 96, 0.3);
}

.btn-create-payment {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #d91a60 0%, #c2185b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-create-payment:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 26, 96, 0.4);
}

.btn-create-payment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qr-code-container {
  text-align: center;
  padding: 2rem 1rem;
}

.qr-code-container h4 {
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 1.2rem;
}

.payment-redirect-info {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.payment-redirect-info p {
  margin: 0.5rem 0;
  color: #1976d2;
  font-size: 0.95rem;
}

.payment-amount-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.payment-amount-display strong {
  color: #d91a60;
  font-size: 1.5rem;
}

.payment-waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: #7f8c8d;
  margin-bottom: 1.5rem;
}

.btn-cancel-payment {
  padding: 0.75rem 2rem;
  background: #95a5a6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cancel-payment:hover {
  background: #7f8c8d;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #ecf0f1;
  border-top-color: #d91a60;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .payment-modal {
    width: 95%;
  }

  .qr-code-image {
    width: 250px;
    height: 250px;
  }

  .quick-amount-buttons {
    grid-template-columns: 1fr;
  }

  .btn-quick-amount.btn-full {
    grid-column: 1;
  }
}

/* Payment redirect info styles */
.qr-code-container {
  text-align: center;
  padding: 20px;
}

.qr-code-container h4 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.payment-redirect-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.payment-redirect-info p {
  margin: 10px 0;
  color: #555;
  line-height: 1.6;
}

.payment-note {
  color: #27ae60 !important;
  font-weight: 500;
  margin-top: 15px !important;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.payment-amount-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  font-size: 1.2rem;
}

.payment-amount-display strong {
  color: #e74c3c;
  font-size: 1.5rem;
}

.btn-cancel-payment {
  background: #95a5a6;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
  transition: background 0.3s;
}

.btn-cancel-payment:hover {
  background: #7f8c8d;
}

/* Notification message styles */
.notification-message {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  margin: 15px auto;
  max-width: 80%;
  border-radius: 12px;
  animation: slideDown 0.3s ease-out, fadeOut 0.5s ease-in 4.5s forwards;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 10px;
  z-index: 100;
}

.notification-message.success {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  border: 2px solid #1e8449;
}

.notification-message.error {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: 2px solid #a93226;
}

.notification-content {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* System message styles (for payment notifications) */
.message-system {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: 80%;
  text-align: center;
}

.system-message-content {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  display: inline-block;
  max-width: 100%;
  word-wrap: break-word;
}

.message-system .message-time {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #95a5a6;
  text-align: center;
}

/* Admin Mark Completed Button */
.btn-mark-completed-admin {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-mark-completed-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}
.payment-callback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
}

.callback-container {
  background: white;
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.callback-content {
  text-align: center;
}

.callback-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.success-icon {
  color: #27ae60;
  animation: scaleIn 0.5s ease-out;
}

.failed-icon {
  color: #e74c3c;
  animation: scaleIn 0.5s ease-out;
}

.spinning {
  color: #667eea;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.callback-content h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.callback-content p {
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.payment-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ecf0f1;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row span {
  color: #7f8c8d;
  font-size: 0.95rem;
}

.detail-row strong {
  color: #2c3e50;
  font-size: 1rem;
}

.detail-row .amount {
  color: #27ae60;
  font-size: 1.3rem;
}

.redirect-message {
  color: #95a5a6;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.error-message {
  color: #e74c3c;
  font-weight: 600;
  margin: 1rem 0;
}

.btn-retry {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-retry:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .callback-container {
    padding: 2rem 1.5rem;
  }

  .callback-icon {
    font-size: 4rem;
  }

  .callback-content h2 {
    font-size: 1.5rem;
  }
}
/* App.css - Global styles */
