:root {
  --primary: #f57c00;
  --primary-dark: #e65100;
  --primary-light: #ffb74d;
  --secondary: #4caf50;
  --text: #333;
  --text-light: #666;
  --background: #fffaf2;
  --white: #ffffff;
  --gray: #f5f5f5;
  --gray-dark: #e0e0e0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--primary);
  color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo h1 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Enhanced Logo Text Animation */
#logoText {
  transition: all 0.5s ease;
  display: inline-block;
  position: relative;
}

.logo.welcome-mode #logoText {
  animation: welcomeTransition 5s ease-in-out forwards;
}

@keyframes welcomeTransition {
  0% {
    opacity: 1;
    transform: scale(1);
    color: var(--white);
  }
  20% {
    opacity: 0.8;
    transform: scale(1.05);
    color: var(--primary-light);
  }
  40% {
    opacity: 0.6;
    transform: scale(0.95);
    color: var(--white);
  }
  60% {
    opacity: 0.8;
    transform: scale(1.02);
    color: var(--primary-light);
  }
  80% {
    opacity: 0.9;
    transform: scale(0.98);
    color: var(--white);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    color: var(--white);
  }
}

.logo.final-mode #logoText {
  animation: finalAppear 0.5s ease-out forwards;
}

@keyframes finalAppear {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--primary-light);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-auth {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-auth:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-register {
  background: var(--white);
  color: var(--primary);
}

.btn-register:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

/* User Menu */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--white);
}

.user-avatar {
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-menu span {
  font-weight: 600;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 0;
  min-width: 150px;
  display: none;
  z-index: 1000;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 8px 20px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.3s;
}

.user-dropdown a:hover {
  background: var(--gray);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Auth Links */
.mobile-auth {
  display: none;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 100px 30px 60px;
  gap: 50px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.india-flag {
  font-size: 2.5rem;
  vertical-align: middle;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-buy, .btn-hire, .btn-send {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--gray);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-buy, .btn-hire, .btn-send {
  background: var(--primary);
  color: var(--white);
}

.btn-buy:hover, .btn-hire:hover, .btn-send:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Products & Professions */
.products, .professions {
  padding: 80px 0;
}

.products h2, .professions h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 50px;
}

.product-grid, .profession-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product, .profession {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.product:hover, .profession:hover {
  transform: translateY(-5px);
}

.product-image, .profession-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 15px;
}

.product-image img, .profession-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.product:hover .product-image img,
.profession:hover .profession-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product:hover .product-overlay {
  opacity: 1;
}

.btn-overlay {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

.product h3, .profession h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.product p, .profession p {
  color: var(--text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.rating i {
  color: #ffc107;
}

.rating span {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 5px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--gray);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.about-image {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-content {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 5px;
}

.contact-item h3 {
  margin-bottom: 5px;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
footer {
  background: #222;
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 25px 0 0 25px;
}

.newsletter-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 20px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
}

/* Enhanced Slide Panels */
.slide-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 500px;
  height: 100%;
  background: var(--background);
  box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
}

.slide-panel.open {
  right: 0;
}

.slide-panel .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  color: var(--text);
  transition: color 0.3s;
}

.slide-panel .close-btn:hover {
  color: var(--primary);
}

.slide-panel h2 {
  margin-top: 10px;
  color: var(--primary);
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-light);
}

.slide-panel .product-item {
  margin: 20px 0;
  border-bottom: 1px solid var(--gray-dark);
  padding-bottom: 15px;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.slide-panel .product-item:hover {
  transform: translateX(5px);
}

.slide-panel .product-item img {
  width: 100%;
  border-radius: 8px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.sub-slide {
  z-index: 4000;
}

.variant-card {
  margin: 15px 0;
  text-align: center;
  padding: 15px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.variant-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.variant-card img {
  width: 100%;
  border-radius: 8px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.variant-card button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.variant-card button:hover {
  background: var(--primary-dark);
}

/* Auth Panels */
.auth-panel {
  z-index: 5002;
}

.auth-form {
  padding: 20px 0;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.auth-form input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-dark);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-auth-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  font-size: 1rem;
}

.btn-auth-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.auth-links {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-dark);
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Profile Content */
.profile-content {
  padding: 20px 0;
}

.profile-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.profile-info h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.profile-detail {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-dark);
}

.profile-detail:last-child {
  border-bottom: none;
}

.profile-detail strong {
  color: var(--text);
}

/* Professional Slide Panel Styles */
.professional-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin: 15px 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.professional-card:hover {
  transform: translateY(-5px);
}

.professional-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.professional-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
}

.professional-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professional-info h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.professional-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.detail-item i {
  color: var(--primary);
  width: 16px;
}

.professional-bio {
  color: var(--text-light);
  margin-bottom: 15px;
  font-style: italic;
}

.btn-contact {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn-contact:hover {
  background: #388e3c;
  transform: translateY(-2px);
}

/* Floating Action Buttons - Transform from Horizontal to Vertical */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 5000;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-buttons.collapsed {
  transform: translateX(calc(-100vw + 120px));
  flex-direction: column;
  gap: 12px;
}

.floating-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  font-weight: 600;
  position: relative;
  width: auto;
  min-width: 60px;
  transform-origin: center;
}

.floating-buttons.collapsed .floating-button {
  transform: scale(0.95);
  padding: 12px 18px;
}

.floating-button .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.2);
}

.floating-buttons.collapsed .floating-button .icon {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.floating-button .label {
  white-space: nowrap;
  transition: all 0.4s ease;
  opacity: 1;
  max-width: 100px;
  overflow: hidden;
}

.floating-buttons.collapsed .floating-button .label {
  opacity: 0.9;
  transform: translateX(-2px);
}

/* Individual button styles - All Orange Theme */
#hireBtn {
  background: var(--primary);
  color: var(--white);
}

#hireBtn:hover {
  background: var(--primary-dark);
}

#cartBtn {
  background: var(--primary);
  color: var(--white);
}

#cartBtn:hover {
  background: var(--primary-dark);
}

#ordersBtn {
  background: var(--primary);
  color: var(--white);
}

#ordersBtn:hover {
  background: var(--primary-dark);
}

/* Hover effects */
.floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.floating-buttons.collapsed .floating-button:hover {
  transform: scale(1) translateY(-2px);
}

/* Indicators for buttons */
.cart-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 5001;
  border: 2px solid var(--white);
  transition: all 0.4s ease;
}

.floating-buttons.collapsed .cart-indicator {
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  top: -4px;
  right: -4px;
}

/* Cart Panel */
.cart-panel {
  z-index: 5002;
}

.cart-total {
  padding: 20px 0;
  border-top: 2px solid var(--gray-dark);
  margin-top: 20px;
  text-align: center;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-continue, .btn-checkout, .btn-clear, .btn-pay, .btn-back {
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-checkout, .btn-pay {
  background: var(--secondary);
  color: var(--white);
}

.btn-checkout:hover, .btn-pay:hover {
  background: #388e3c;
}

.btn-continue, .btn-back {
  background: var(--gray);
  color: var(--text);
}

.btn-continue:hover, .btn-back:hover {
  background: var(--gray-dark);
}

.btn-clear {
  background: #f44336;
  color: var(--white);
}

.btn-clear:hover {
  background: #d32f2f;
}

/* Cart Item Styles */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-dark);
}

.cart-item-info {
  flex: 1;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-controls button {
  background: var(--primary);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn {
  background: #f44336 !important;
  margin-left: 10px;
}

.cart-item-total {
  font-weight: bold;
  min-width: 80px;
  text-align: right;
}

.empty-cart {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
}

/* Payment Styles */
.payment-content {
  padding: 10px 0;
}

.order-summary {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-total {
  padding: 15px 0;
  border-top: 2px solid var(--gray-dark);
  margin-top: 15px;
  text-align: center;
}

.payment-methods {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-option {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.payment-option:hover {
  border-color: var(--primary);
}

.payment-option input[type="radio"] {
  margin-right: 10px;
}

.payment-form {
  margin-top: 20px;
  padding: 20px;
  background: var(--gray);
  border-radius: var(--radius);
  display: none;
}

.payment-message {
  margin-top: 20px;
  padding: 15px;
  background: var(--primary-light);
  border-radius: var(--radius);
  text-align: center;
  display: none;
}

.payment-message p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 500;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hire Panel Styles */
.hire-panel {
  z-index: 5002;
}

.hire-total {
  padding: 20px 0;
  border-top: 2px solid var(--gray-dark);
  margin-top: 20px;
  text-align: center;
}

.hire-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* Hire Item Styles */
.hire-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-dark);
}

.hire-item-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hire-item-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.hire-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hire-item-details h4 {
  margin-bottom: 5px;
}

.hire-item-details p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.hire-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hire-item-controls button {
  background: var(--primary);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hire-remove-btn {
  background: #f44336 !important;
  margin-left: 10px;
}

.hire-item-total {
  font-weight: bold;
  min-width: 80px;
  text-align: right;
}

.empty-hire {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
}

/* Orders Panel Styles */
.orders-panel {
  z-index: 5002;
}

.orders-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* Order Item Styles */
.order-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin: 15px 0;
  box-shadow: var(--shadow);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-dark);
}

.order-number {
  font-weight: bold;
  color: var(--primary);
}

.order-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.order-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-delivered {
  background: #e8f5e8;
  color: #2e7d32;
}

.status-shipped {
  background: #e3f2fd;
  color: #1976d2;
}

.status-pending {
  background: #fff3e0;
  color: #f57c00;
}

.status-cancelled {
  background: #ffebee;
  color: #c62828;
}

.order-products {
  margin: 15px 0;
}

.order-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-dark);
}

.order-product:last-child {
  border-bottom: none;
}

.order-product-info {
  flex: 1;
}

.order-product-info h4 {
  margin-bottom: 5px;
}

.order-product-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.order-product-total {
  font-weight: bold;
  min-width: 80px;
  text-align: right;
}

.order-total {
  padding: 15px 0;
  border-top: 2px solid var(--gray-dark);
  margin-top: 15px;
  text-align: right;
  font-weight: bold;
  font-size: 1.1rem;
}

.order-actions {
  margin-top: 15px;
  text-align: right;
}

.btn-cancel-order {
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-cancel-order:hover {
  background: #d32f2f;
}

.empty-orders {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
}

/* Rating Styles */
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.rating-stars i {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s;
}

.rating-stars i.active {
  color: #ffc107;
}

.rating-comment {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
}

.btn-submit-rating {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn-submit-rating:hover {
  background: #388e3c;
}

.rating-success {
  text-align: center;
  padding: 30px 0;
}

.rating-success i {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 10px;
}

.status-hired {
  background: #e3f2fd;
  color: #1976d2;
}

.status-completed {
  background: #e8f5e8;
  color: #2e7d32;
}

.status-rated {
  background: #fff3e0;
  color: #f57c00;
}

/* Professional Status */
.professional-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.status-connected {
  color: var(--secondary);
}

.status-pending {
  color: var(--primary);
}

.btn-rate {
  background: var(--primary);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-rate:hover {
  background: var(--primary-dark);
}

/* Enhanced Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
    max-width: 400px;
    word-wrap: break-word;
    border-left: 4px solid;
    font-weight: 500;
}

.notification.success {
    background: #4caf50;
    border-left-color: #388e3c;
}

.notification.error {
    background: #f44336;
    border-left-color: #d32f2f;
}

.notification.info {
    background: #2196f3;
    border-left-color: #1976d2;
}

/* Remove Order Button Styles */
.btn-remove-order {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-remove-order:hover {
    background: #d32f2f;
}

/* Clear All Orders Button */
.clear-all-orders {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-dark);
    text-align: center;
}

.btn-clear-all {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.btn-clear-all:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* Enhanced Empty Orders State */
.empty-orders {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-orders i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    display: block;
}

.empty-orders p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Order Actions Layout */
.order-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 15px 20px;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  
  nav ul.show {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .mobile-auth {
    display: block;
  }
  
  .auth-buttons {
    display: none;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 60px;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-content, .contact-content {
    flex-direction: column;
  }
  
  .stats {
    justify-content: space-around;
  }
  
  .features-grid, .product-grid, .profession-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .slide-panel {
    width: 100%;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .cart-item-controls {
    align-self: stretch;
    justify-content: space-between;
  }
  
  .cart-item-total {
    align-self: flex-end;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .professional-details {
    grid-template-columns: 1fr;
  }
  
  .professional-header {
    flex-direction: column;
    text-align: center;
  }
  
  .hire-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .hire-item-controls {
    align-self: stretch;
    justify-content: space-between;
  }
  
  .hire-item-total {
    align-self: flex-end;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .order-product {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .order-product-total {
    align-self: flex-end;
  }
  
  .order-actions {
    text-align: center;
  }
  
  /* Floating buttons for mobile */
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  
  .floating-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .floating-button .icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .floating-buttons.collapsed {
    transform: translateX(calc(-100vw + 100px));
    gap: 8px;
  }
  
  .floating-buttons.collapsed .floating-button {
    transform: scale(0.9);
    padding: 10px 14px;
  }
  
  .floating-buttons.collapsed .floating-button .icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .floating-button .label {
    display: none; /* Hide labels on mobile for compact view */
  }

  .order-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn-remove-order, .btn-cancel-order {
    width: 100%;
    justify-content: center;
  }

  /* Notification for mobile */
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Notification Animations */
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}