/*


 */

/* Custom styling for Blukh matching MSKNStudio design */

:root {
  --primary-color: #008080;
  --secondary-color: #00A699;
  --text-color: #484848;
  --light-gray: #F7F7F7;
  --border-color: #EBEBEB;
  --footer-purple: #4a0e4e;
  --primary-font: 'Vazirmatn', 'Inter', 'Noto Sans Arabic', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --arabic-font: 'Vazirmatn', 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}



body {
  font-family: var(--primary-font);
  color: var(--text-color);
  line-height: 1.6;
}

/* Arabic-specific styling - Exact same as Airbnb */
html[lang="ar"], 
html[dir="rtl"],
.arabic-text {
  font-family: var(--arabic-font);
  direction: rtl;
  text-align: right;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Arabic font weights - Same as Airbnb */
.arabic-text.font-light {
  font-weight: 300;
}

.arabic-text.font-normal {
  font-weight: 400;
}

.arabic-text.font-medium {
  font-weight: 500;
}

.arabic-text.font-semibold {
  font-weight: 600;
}

.arabic-text.font-bold {
  font-weight: 700;
}

/* Navigation */
.navbar {
  box-shadow: none;
  border-bottom: none;
  padding: 1rem 0;
}

/* Navigation Horizontal Styling - Airbnb Style */
.nav-icon-small {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.nav-horizontal-link:hover .nav-icon-small {
  transform: scale(1.1);
}

.nav-horizontal-link {
  transition: all 0.2s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Navigation tabs container width to match search bar */
.nav-tabs-container {
  width: 650px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.navbar .d-flex.align-items-center.justify-content-center.flex-grow-1 {
  width: 650px;
}

.nav-horizontal-link:hover {
  background-color: #f8f9fa;
}

/* Navigation Text Styling - Exact Airbnb Pattern */
.nav-horizontal-link span {
  font-weight: 300; /* Light weight for inactive items */
  transition: font-weight 0.2s ease;
}

/* Active navigation item - Bold like Airbnb */
.nav-horizontal-link.active-nav span,
.active-nav span {
  font-weight: 700 !important; /* Bold weight for active items */
}

/* Arabic navigation text */
.nav-horizontal-link .arabic-text {
  font-weight: 300; /* Light for inactive */
}

.nav-horizontal-link.active-nav .arabic-text,
.active-nav .arabic-text {
  font-weight: 700 !important; /* Bold for active */
}

.active-nav {
  position: relative;
}

/* Active indicator directly under navigation items */
.active-nav {
  position: relative;
}

.active-nav::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* Hide the line after search bar */
.active-line-container {
  display: none;
}

.active-line {
  display: none;
}

/* Bottom border after search bar */
.navbar-bottom-border {
  border-bottom: 1px solid #f0f0f0;
  margin-top: 1rem;
}

/* Language Dropdown Styling */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 8px 0;
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #333;
}

.dropdown-item.active {
  background-color: #007bff;
  color: white;
}

.dropdown-item.active:hover {
  background-color: #0056b3;
  color: white;
}

/* Icon Colors */
.bg-warning {
  background-color: #ffc107 !important;
}

.bg-info {
  background-color: #0dcaf0 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.bg-primary {
  background-color: #0d6efd !important;
}

/* Blukh Logo Image */
.blukh-link {
  transition: all 0.3s ease;
}

.blukh-logo-img {
  height: 60px;
  width: auto;
  margin-right: 55px;
  transition: all 0.3s ease;
}

.blukh-link:hover .blukh-logo-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero Section */
.hero-section {
  background: white;
  position: relative;
  overflow: hidden;
}

/* Main Filters System */
.main-filters-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.main-filters-form {
  width: 100%;
}

.main-filters {
  display: flex;
  background: white;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  padding: 4px;
  gap: 0;
}

.filter-item {
  flex: 1;
  padding: 12px 16px;
  border-right: 1px solid #f0f0f0;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-top: 8px;
}

.filter-item:last-of-type {
  border-right: none;
}

.filter-item:hover {
  background-color: #f8f9fa;
}

.filter-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.filter-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.placeholder-text {
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

.filter-value i {
  font-size: 12px;
  color: #666;
  transition: transform 0.2s ease;
}

.filter-item.active .filter-value i {
  transform: rotate(180deg);
}

/* Filter Popup */
.filter-popup {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid #e0e0e0;
  z-index: 9999;
  margin-top: 8px;
  display: none;
  max-height: 400px;
  overflow-y: auto;
  min-width: 300px;
}

/* Position popups relative to their filters */
#cityFilter {
  position: relative;
}

#categoryFilter {
  position: relative;
}

/* Ensure popups are visible and properly positioned */
.filter-popup {
  position: fixed !important;
  top: 53% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  border: 2px solid #f8f9fa;
  z-index: 99999 !important;
  display: none;
  max-height: 80vh;
  overflow-y: auto;
  min-width: 500px;
  max-width: 700px;
  opacity: 1;
  visibility: visible;
  animation: popupSlideIn 0.3s ease-out;
  backdrop-filter: blur(10px);
}

/* Specific positioning for Building Categories popup */
#categoryPopup {
  top: 58% !important;
}

/* Keep City popup at 50% */
#cityPopup {
  top: 53% !important;
}

/* Popup Animation */
@keyframes popupSlideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.filter-popup.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Add overlay when popup is open */
.filter-popup.show::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.filter-popup.show {
  display: block;
}

.filter-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 2px solid #f8f9fa;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 24px 24px 0 0;
}

.filter-popup-header h6 {
  margin: 0;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.close-popup {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  font-size: 18px;
  color: #6c757d;
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: 600;
}

.close-popup:hover {
  background: #e9ecef;
  color: #495057;
  transform: scale(1.1);
  border-color: #008080;
}

.filter-popup-content {
  padding: 24px 28px;
  background-color: white;
  border-radius: 0 0 24px 24px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  border: 2px solid #e9ecef;
  background: white;
  position: relative;
  overflow: hidden;
}

.filter-option:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: #008080;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.15);
}

.filter-option span {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 600;
  letter-spacing: -0.2px;
  flex: 1;
}

/* Destination Options - Airbnb Style */
.destination-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
  border: 1px solid transparent;
}

.destination-option:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.destination-info {
  flex: 1;
  margin-right: 16px;
}

.destination-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.destination-description {
  font-size: 14px;
  color: #6c757d;
  font-weight: 400;
  line-height: 1.4;
}

.destination-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.destination-option:hover .destination-icon {
  background: transparent;
  transform: scale(1.05);
}

.filter-option i {
  font-size: 20px;
  margin-left: 16px;
  transition: all 0.3s ease;
  opacity: 0.9;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.filter-option:hover i {
  opacity: 1;
  transform: scale(1.15);
}

/* Building Categories Grid */
.filter-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 12px 0;
  margin-top: 8px;
}

.filter-categories-grid .filter-option {
  margin-bottom: 0;
  padding: 16px 20px;
  text-align: left;
  justify-content: space-between;
  border-radius: 14px;
}

.filter-categories-grid .filter-option span {
  font-size: 15px;
  font-weight: 600;
}
/* Search Button */
.main-search-btn {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 100px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);
  margin-top: 12px;
}

/* Search Page Button Alignment */
.search-page .btn-primary.btn-lg {
  margin-top: 20px;
}

/* Dedicated Search Page Button Class */
.search-page-btn {
  margin-top: 25px !important;
  padding: 12px 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 25px !important;
  background: linear-gradient(135deg, #008080 0%, #006666 100%) !important;
  border: none !important;
  color: white !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3) !important;
}

.search-page-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.4) !important;
  background: linear-gradient(135deg, #006666 0%, #004d4d 100%) !important;
  color: white !important;
}

.main-search-btn:hover {
  background: linear-gradient(135deg, #006666 0%, #004d4d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
  color: white;
}

.main-search-btn i {
  font-size: 16px;
}

/* RTL Support for Arabic */
.locale-ar .main-filters {
  flex-direction: row-reverse;
}

.locale-ar .filter-item {
  border-right: none;
  border-left: 1px solid #f0f0f0;
}

.locale-ar .filter-item:last-of-type {
  border-left: none;
}

.locale-ar .filter-label {
  text-align: right;
}

.locale-ar .filter-option {
  text-align: right;
}

.locale-ar .filter-categories-grid {
  direction: rtl;
}

/* RTL Support for Arabic */
.locale-ar .airbnb-search-filters {
  flex-direction: row-reverse;
  width: 105%;
  margin-right: 4%;
  margin-left: 0;
}

.locale-ar .search-filter-item {
  border-right: none;
  border-left: 1px solid #f0f0f0;
}

.locale-ar .search-filter-item:last-of-type {
  border-left: none;
}

/* Remove border from the last item before search button in Arabic */
.locale-ar .search-filter-item:nth-last-child(2) {
  border-left: none;
}

/* Remove border from WHO section (4th item) in Arabic */
.locale-ar .search-filter-item:nth-child(4) {
  border-left: none;
}

.locale-ar .filter-label {
  text-align: right;
}

.locale-ar .filter-input {
  text-align: right;
  direction: rtl;
}

.locale-ar .filter-input::placeholder {
  text-align: right;
}

/* Unified Rounded Search Bar */
.rounded-search-form {
  background: white;
  border-radius: 50px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  border: none;
  overflow: hidden;
  padding: 6px;
  min-width: 800px;
}

.rounded-search-horizontal {
  width: 100%;
}

.rounded-search-group {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border-radius: 50px;
  padding: 0;
}

.search-icon-circle {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);
}

.search-icon-circle i {
  color: white;
  font-size: 18px;
}

.rounded-search-input {
  border: none !important;
  background: transparent;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  width: 100%;
  padding: 18px 25px 18px 0;
  color: #666;
  font-weight: 400;
}

.rounded-search-input:focus {
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  color: #333;
}

.rounded-search-input:active {
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.rounded-search-input::placeholder {
  color: #999;
  font-weight: 400;
}

/* Search Results Card - Inline Layout */
.search-results-card {
  background: white;
  border-radius: 50px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  border: none;
  overflow: hidden;
  padding: 8px;
  margin-bottom: 2rem;
}

.search-results-body {
  padding: 0;
}

.search-results-form {
  width: 100%;
}

.search-results-group {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border-radius: 50px;
  padding: 0;
  gap: 1px;
}

.search-results-field {
  border: none !important;
  background: transparent;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  padding: 18px 20px;
  color: #666;
  font-weight: 400;
  flex: 1;
  border-radius: 0;
  border-right: 1px solid #f0f0f0;
}

.search-results-field:focus {
  box-shadow: none !important;
  border: none !important;
  border-right: 1px solid #f0f0f0;
  outline: none !important;
  color: #333;
}

.search-results-field::placeholder {
  color: #999;
  font-weight: 400;
}

.search-results-dropdown {
  flex: 0 0 200px;
  border-right: 1px solid #f0f0f0;
}

.search-results-btn {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 40px;
  margin-left: 8px;
  margin-right: 4px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);
}

.search-results-btn:hover {
  background: linear-gradient(135deg, #006666 0%, #004d4d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
  color: white;
}

/* Arabic/RTL Search Results Layout */
html[dir="rtl"] .search-results-group,
html[lang="ar"] .search-results-group,
.arabic-layout .search-results-group {
  flex-direction: row-reverse;
  direction: rtl;
}

html[dir="rtl"] .search-results-field,
html[lang="ar"] .search-results-field,
.arabic-layout .search-results-field {
  text-align: right;
  direction: rtl;
  border-right: none !important;
  border-left: 1px solid #f0f0f0;
}

html[dir="rtl"] .search-results-field:focus,
html[lang="ar"] .search-results-field:focus,
.arabic-layout .search-results-field:focus {
  border-right: none !important;
  border-left: 1px solid #f0f0f0;
}

html[dir="rtl"] .search-results-field::placeholder,
html[lang="ar"] .search-results-field::placeholder,
.arabic-layout .search-results-field::placeholder {
  text-align: right;
}

html[dir="rtl"] .search-results-dropdown,
html[lang="ar"] .search-results-dropdown,
.arabic-layout .search-results-dropdown {
  border-right: none !important;
  border-left: 1px solid #f0f0f0;
}

html[dir="rtl"] .search-results-btn,
html[lang="ar"] .search-results-btn,
.arabic-layout .search-results-btn {
  margin-left: 4px;
  margin-right: 8px;
  order: -1;
}

/* Arabic RTL Search Results Card Only */
.locale-ar .card .row.g-3 {
  flex-direction: row-reverse;
}

.locale-ar .card .form-control {
  text-align: right;
  direction: rtl;
}

.locale-ar .card .form-select {
  text-align: right;
  direction: rtl;
}

.locale-ar .card .form-control::placeholder {
  text-align: right;
}

/* Airbnb-style Authentication Modals */
.airbnb-modal {
  border: none;
  border-radius: 16px;
  max-width: 480px;
  margin: auto;
}

.airbnb-modal .modal-header {
  padding: 24px 24px 0;
  position: relative;
}

.airbnb-modal .btn-close {
  position: absolute;
  top: 16px;
  left: 16px;
  margin: 0;
  padding: 8px;
  opacity: 0.6;
  border-radius: 50%;
  background: none;
  border: none;
  font-size: 12px;
}

.airbnb-modal .btn-close:hover {
  opacity: 1;
  background-color: #f7f7f7;
}

.airbnb-modal .modal-body {
  padding: 0 24px 24px;
}

.auth-form .form-label {
  color: #222;
  font-size: 14px;
  margin-bottom: 6px;
}

.auth-form .form-control {
  border: 1px solid #b0b0b0;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.auth-form .form-control:focus {
  border-color: #222;
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.auth-form .input-group .form-select {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #f7f7f7;
}

.auth-form .input-group .phone-input {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.auth-btn {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border: none;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.auth-btn:hover {
  background: linear-gradient(135deg, #006666 0%, #004d4d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.divider {
  position: relative;
  text-align: center;
  color: #717171;
  font-size: 14px;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dddddd;
}

.divider span {
  background: white;
  padding: 0 16px;
}

.verification-input {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 4px;
  text-align: center;
  font-family: 'Inter', monospace;
}

/* Authentication buttons in navbar */
.auth-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 24px;
  transition: all 0.2s ease;
}

.auth-user-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 24px;
  border: 1px solid #dddddd;
  background: white;
  color: #222;
  transition: all 0.2s ease;
}

.auth-user-btn:hover {
  border-color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* RTL Support for Auth Modals */
.locale-ar .airbnb-modal .btn-close {
  left: auto;
  right: 16px;
}

.locale-ar .auth-form .input-group .form-select {
  border-right: 1px solid #b0b0b0;
  border-left: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.locale-ar .auth-form .input-group .phone-input {
  border-left: 1px solid #b0b0b0;
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  text-align: right;
  direction: rtl;
}

/* Airbnb-style User Profile Dropdown */
.user-profile-btn {
  background: white;
  border: 1px solid #dddddd;
  border-radius: 24px;
  padding: 8px 12px 8px 8px;
  transition: all 0.2s ease;
  color: #222;
}

.user-profile-btn:hover {
  border-color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  background: white;
  color: #222;
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
  border: none;
}

/* Profile Page Styles */
.user-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #008080;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 128, 128, 0.2);
}

.profile-header {
  border: 1px solid #f0f0f0;
}

.profile-section {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.profile-stat {
  padding: 16px 0;
}

.profile-stat h4 {
  color: #222;
  font-weight: 600;
}

.progress-indicator .badge {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
}

.profile-section .btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.profile-section .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Airbnb Dropdown */
.airbnb-dropdown {
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 0;
  margin-top: 8px;
  min-width: 240px;
  max-width: 280px;
}

/* Dropdown Sections */
.dropdown-section {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-section:last-child {
  border-bottom: none;
}

/* Dropdown Items */
.dropdown-item-custom {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  color: #222;
  text-decoration: none;
}

.dropdown-item-custom:hover {
  background-color: #f7f7f7;
  color: #222;
}

.dropdown-item-custom i {
  width: 20px;
  color: #222;
  margin-right: 12px;
  font-size: 16px;
}

.dropdown-item-custom span {
  flex: 1;
  font-weight: 400;
}

/* Notification Badge Small */
.notification-badge-small {
  background: #008080;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  margin-left: auto;
}

/* Logout Dropdown Item */
.logout-dropdown {
  color: #222 !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
  width: 100%;
  text-align: left;
}

.logout-dropdown:hover {
  background-color: #f7f7f7 !important;
  color: #222 !important;
}

/* Guest Auth Buttons */
.btn.rounded-pill {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 24px;
}

/* RTL Support for Dropdown */
.locale-ar .dropdown-item-custom {
  direction: rtl;
  text-align: right;
}

.locale-ar .dropdown-item-custom i {
  margin-right: 0;
  margin-left: 12px;
}

.locale-ar .user-avatar-small {
  margin-right: 0;
  margin-left: 8px;
}

.locale-ar .notification-badge-small {
  margin-left: 0;
  margin-right: auto;
}

/* Airbnb Sidebar Dropdown */
.airbnb-sidebar-dropdown {
  border-radius: 0 20px 20px 0;
  width: 280px !important;
  max-width: 85vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  background: white;
}

.airbnb-sidebar-dropdown .offcanvas-header {
  padding: 16px 24px 0;
  border-bottom: none;
}

.airbnb-sidebar-dropdown .btn-close {
  opacity: 0.6;
  background: none;
  border: none;
  border-radius: 50%;
  padding: 8px;
  margin: 0;
}

.airbnb-sidebar-dropdown .btn-close:hover {
  opacity: 1;
  background-color: #f7f7f7;
}

.airbnb-sidebar-dropdown .offcanvas-body {
  padding: 8px 0 24px;
}

.offcanvas-body ul {
  margin: 0;
}

.offcanvas-body .list-unstyled li {
  margin-bottom: 8px;
}

.offcanvas-body .list-unstyled li:last-child {
  margin-bottom: 0;
}

.offcanvas-body a {
  padding: 12px 0;
  display: block;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.offcanvas-body a:hover {
  color: #008080 !important;
}

.offcanvas-body .btn {
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
}

.offcanvas-body .btn-primary {
  background: #008080;
  border: none;
}

.offcanvas-body .btn-primary:hover {
  background: #008080;
}

.offcanvas-body .btn-outline-primary {
  border: 1px solid #008080;
  color: #008080;
}

.offcanvas-body .btn-outline-primary:hover {
  background: #008080;
  border-color: #008080;
  color: white;
}

.offcanvas-body hr {
  margin: 16px 0;
  border-color: #f0f0f0;
}

/* Sidebar Dropdown Sections - same as dropdown */
.airbnb-sidebar-dropdown .dropdown-section {
  padding: 8px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.airbnb-sidebar-dropdown .dropdown-section:last-child {
  border-bottom: none;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 8px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 15px;
  color: #222;
}

.sidebar-item:hover {
  background-color: #f7f7f7;
}

.sidebar-item i {
  width: 20px;
  color: #222;
  margin-right: 12px;
  font-size: 16px;
}

.sidebar-item span {
  flex: 1;
  font-weight: 400;
}

/* Notification Badge for Sidebar */
.notification-badge-sidebar {
  background: #008080;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

/* Logout Sidebar Item */
.logout-sidebar {
  color: #222 !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
  width: 100%;
  text-align: left;
}

.logout-sidebar:hover {
  background-color: #f7f7f7 !important;
  color: #222 !important;
}

/* Auth Buttons in Sidebar */
.airbnb-sidebar-dropdown .btn {
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
}

.airbnb-sidebar-dropdown .btn-primary {
  background: #008080;
  border: none;
}

.airbnb-sidebar-dropdown .btn-primary:hover {
  background: #008080;
}

.airbnb-sidebar-dropdown .btn-outline-primary {
  border: 1px solid #008080;
  color: #008080;
}

.airbnb-sidebar-dropdown .btn-outline-primary:hover {
  background: #008080;
  border-color: #008080;
  color: white;
}

/* Navigation Links in Sidebar - when the link IS the dropdown-item-custom */
.airbnb-sidebar-dropdown a.dropdown-item-custom {
  text-decoration: none !important;
  color: #222 !important;
  display: flex;
  align-items: center;
}

.airbnb-sidebar-dropdown a.dropdown-item-custom:hover {
  color: #222 !important;
  background-color: #f7f7f7;
}

.airbnb-sidebar-dropdown a.dropdown-item-custom span {
  flex: 1;
}

/* RTL Support for Sidebar */
.locale-ar .sidebar-item {
  direction: rtl;
  text-align: right;
}

.locale-ar .sidebar-item i {
  margin-right: 0;
  margin-left: 12px;
}

.locale-ar .notification-badge-sidebar {
  margin-left: 0;
  margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .airbnb-sidebar-dropdown {
    width: 100vw !important;
    border-radius: 0;
  }
}

/* Search Form */
.search-form {
  border-radius: 50px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
  transition: all 0.3s ease;
}

.search-form:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
  transform: translateY(-2px);
}

.search-form .form-control,
.search-form .form-select {
  border: none !important;
  background: transparent !important;
  font-size: 16px;
  padding: 12px 0;
}

.search-form .form-control:focus,
.search-form .form-select:focus {
  box-shadow: none !important;
  outline: none !important;
}

.search-form .btn {
  border-radius: 25px !important;
  padding: 12px 24px !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

/* Cards */
.card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.category-card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.category-card .card-body {
  padding: 2rem !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #006666;
  border-color: #006666;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

/* Global outline button styles to override Bootstrap defaults */
.btn-outline-primary {
  border: 1px solid #008080;
  color: #008080;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #008080;
  border-color: #008080;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

/* Feature sections */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: white !important;
  border-top: 1px solid #e0e0e0 !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

footer a {
  transition: color 0.3s ease;
  font-size: 0.875rem;
  color: #333 !important;
}

footer a:hover {
  color: #000 !important;
  opacity: 0.8;
}

/* Ensure body has bottom padding to account for fixed footer */
body {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-icon-small {
    width: 28px;
    height: 28px;
  }
  
  .nav-horizontal-link span {
    font-size: 0.875rem;
  }
  
  /* Main Filters Mobile */
  .main-filters-container {
    margin: 0 20px;
    width: calc(100% - 40px);
    max-width: 500px;
  }
  
  .main-filters {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 12px;
  }
  
  .filter-item {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
  }
  
  .filter-item:last-of-type {
    border-bottom: none;
  }
  
  .search-button-container {
    align-self: center;
    padding: 0;
  }
  
  .main-search-btn {
    width: 100%;
    border-radius: 20px;
    height: 44px;
  }
  
  /* Filter Popup Mobile */
  .filter-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
  }
  
  /* Mobile RTL Support */
  .locale-ar .main-filters {
    flex-direction: column;
  }
  
  .locale-ar .filter-item {
    border-left: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  /* Remove bottom border from last item in mobile Arabic */
  .locale-ar .filter-item:last-of-type {
    border-bottom: none;
  }
  
  .rounded-search-form {
    margin: 0 20px;
    padding: 8px;
    min-width: auto !important;
    width: 95% !important;
    max-width: 95% !important;
  }
  
  .search-icon-circle {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }
  
  .search-icon-circle i {
    font-size: 18px;
  }
  
  .rounded-search-input {
    font-size: 16px;
    padding: 16px 20px 16px 0;
  }
  
  /* Search Results Card Responsive */
  .search-results-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .search-results-field,
  .search-results-dropdown {
    width: 100%;
    flex: none;
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 20px;
  }
  
  .search-results-btn {
    width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 25px;
  }
  
  .hero-section {
    min-height: 50vh !important;
  }
  
  footer {
    position: relative;
  }
  
  body {
    padding-bottom: 0;
  }
  
  .d-flex.gap-4 {
    gap: 1rem !important;
  }
}

/* Arabic text direction support */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .navbar-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .text-md-end {
  text-align: right !important;
}

/* Arabic/RTL Search Bar Layout */
html[dir="rtl"] .rounded-search-group,
html[lang="ar"] .rounded-search-group,
.arabic-layout .rounded-search-group {
  flex-direction: row-reverse;
}

html[dir="rtl"] .search-icon-circle,
html[lang="ar"] .search-icon-circle,
.arabic-layout .search-icon-circle {
  margin-right: 0;
  margin-left: 20px;
}

html[dir="rtl"] .rounded-search-input,
html[lang="ar"] .rounded-search-input,
.arabic-layout .rounded-search-input {
  text-align: right;
  padding: 18px 0 18px 25px;
  direction: rtl;
}

html[dir="rtl"] .rounded-search-input::placeholder,
html[lang="ar"] .rounded-search-input::placeholder,
.arabic-layout .rounded-search-input::placeholder {
  text-align: right;
}

/* Arabic Navigation Layout */
html[dir="rtl"] .d-flex.align-items-center.gap-4,
html[lang="ar"] .d-flex.align-items-center.gap-4,
.arabic-layout .d-flex.align-items-center.gap-4 {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-horizontal-link .d-flex.align-items-center.gap-2,
html[lang="ar"] .nav-horizontal-link .d-flex.align-items-center.gap-2,
.arabic-layout .nav-horizontal-link .d-flex.align-items-center.gap-2 {
  flex-direction: row-reverse;
}

/* Arabic Logo Position */
html[dir="rtl"] .blukh-logo-text,
html[lang="ar"] .blukh-logo-text,
.arabic-layout .blukh-logo-text {
  margin-right: 0;
  margin-left: 55px;
}

/* Arabic Container Alignment */
html[dir="rtl"] .container-fluid,
html[lang="ar"] .container-fluid,
.arabic-layout .container-fluid {
  direction: rtl;
}

html[dir="rtl"] .d-flex.justify-content-center,
html[lang="ar"] .d-flex.justify-content-center,
.arabic-layout .d-flex.justify-content-center {
  direction: rtl;
}

/* Arabic Responsive Search */
@media (max-width: 768px) {
  html[dir="rtl"] .search-icon-circle,
  html[lang="ar"] .search-icon-circle,
  .arabic-layout .search-icon-circle {
    margin-left: 15px;
    margin-right: 0;
  }
  
  html[dir="rtl"] .rounded-search-input,
  html[lang="ar"] .rounded-search-input,
  .arabic-layout .rounded-search-input {
    padding: 16px 0 16px 20px;
  }
}

/* Loading and animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom shadows */
.shadow-soft {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

.shadow-hover {
  transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Reel/Ad Card Styles */
.reel-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.reel-header {
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.reel-store-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.store-details {
  flex: 1;
}

.store-name {
  font-weight: 600;
  font-size: 14px;
  color: #212529;
  margin-bottom: 2px;
}

.store-location {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 2px;
}

.reel-id {
  font-size: 11px;
  color: #adb5bd;
  font-family: monospace;
}

.reel-content {
  flex: 1;
  position: relative;
}

.reel-image-container {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #007bff 0%, #ff6b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reel-image-placeholder {
  text-align: center;
  color: white;
}

.reel-image-placeholder i {
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.reel-image-placeholder span {
  display: block;
  font-size: 12px;
  opacity: 0.9;
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  z-index: 2;
}

.reel-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.reel-description {
  color: white;
  font-size: 14px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.reel-price {
  padding: 12px 16px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.reel-actions {
  padding: 12px 16px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-around;
  gap: 8px;
}

.action-btn {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 16px;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  cursor: pointer;
}

.action-btn:hover {
  background: #e9ecef;
  color: #495057;
  transform: scale(1.1);
}

/* Like button styles */
.like-btn {
  position: relative;
  transition: all 0.3s ease;
}

.like-btn.liked {
  color: #dc3545;
  animation: heartBeat 0.3s ease;
}

.like-btn.liked:hover {
  color: #c82333;
  transform: scale(1.1);
}

.like-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
  font-weight: bold;
}

.like-btn.liked .like-count {
  background: #dc3545;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Delete button styles */
.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.btn-outline-danger:active {
  transform: scale(0.95);
}

/* Flash Messages */
.flash-messages {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}

.flash-message {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInRight 0.3s ease-out;
  transition: all 0.3s ease;
}

.flash-message.success {
  background: #28a745;
  color: white;
  border-left: 4px solid #1e7e34;
}

.flash-message.error {
  background: #dc3545;
  color: white;
  border-left: 4px solid #c82333;
}

.flash-message .message-content {
  flex: 1;
  margin-right: 10px;
}

.flash-message .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.flash-message .close-btn:hover {
  opacity: 1;
}

.flash-message.removing {
  animation: slideOutRight 0.3s ease-in;
  transform: translateX(100%);
}

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

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

/* Arabic RTL support for flash messages */
.locale-ar .flash-messages {
  right: auto;
  left: 20px;
}

.locale-ar .flash-message {
  animation: slideInLeft 0.3s ease-out;
}

.locale-ar .flash-message.removing {
  animation: slideOutLeft 0.3s ease-in;
}

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

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

/* Manage Reels Table Styles */
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
  transition: background-color 0.2s ease;
}

.table th {
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
}

.table td {
  vertical-align: middle;
  border-bottom: 1px solid #f8f9fa;
}

.btn-group .btn {
  border-radius: 6px;
  margin: 0 2px;
}

.btn-group .btn:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.reel-owner-actions {
  padding: 12px 16px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* Upload Form Styles */
.image-upload-area {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.image-upload-area:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.image-upload-area.drag-over {
  border-color: #007bff;
  background-color: #e3f2fd;
  transform: scale(1.02);
}

.upload-placeholder {
  margin-bottom: 20px;
}

.image-preview {
  margin-bottom: 20px;
}

.image-preview img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-image {
  text-align: center;
}

.current-image img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reel-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Reel card image styles */
.reel-uploaded-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 0;
}

/* Arabic RTL Support for Reels */
.locale-ar .reel-store-info {
  flex-direction: row-reverse;
}

.locale-ar .store-details {
  text-align: right;
}

.locale-ar .reel-actions {
  flex-direction: row-reverse;
}

.locale-ar .reel-owner-actions {
  flex-direction: row-reverse;
}

/* Share Modal Styles */
.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.share-modal.hidden {
  display: none !important;
}

.share-modal-content {
  background: white;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.share-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #262626;
}

.close-share-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.close-share-modal:hover {
  background-color: #f5f5f5;
  color: #262626;
}

.share-platforms {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
  padding: 20px;
}

.share-platform {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  min-width: 80px;
  width: 80px;
}

.share-platform:hover {
  background-color: #f8f9fa;
}

.share-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 28px;
  color: white;
}

.share-icon.whatsapp {
  background-color: #25D366;
}

.share-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-icon.snapchat {
  background-color: #FFFC00;
  color: #262626;
}

.share-icon.facebook {
  background-color: #1877F2;
}

.share-icon.twitter {
  background-color: #1DA1F2;
}

.share-icon.copy {
  background-color: #6c757d;
}

.share-platform span {
  font-size: 12px;
  color: #262626;
  font-weight: 500;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
} 

/* Reel Card Styles - Complete Design with Footer */
.reel-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #f8f9fa;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Header Section */
.reel-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f8f9fa;
  background: white;
}

.reel-store-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.store-details {
  flex: 1;
  min-width: 0;
}

.store-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 14px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-location {
  color: #718096;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 16px;
  background: white;
}

.reel-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 12px;
  border: 1px solid #f8f9fa;
}

.reel-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-size: 14px;
  position: relative;
  flex-direction: column;
  border-radius: 12px;
}

.reel-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 2s infinite;
  border-radius: 12px;
}

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

.reel-uploaded-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.reel-card:hover .reel-uploaded-image {
  transform: scale(1.05);
}

/* Footer Section */
.reel-footer {
  padding: 16px 20px;
  border-top: 1px solid #f8f9fa;
  background: white;
}

.reel-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reel-price-section {
  flex: 1;
}

.price-amount {
  font-size: 20px;
  font-weight: 700;
  color: #e53e3e;
}

.price-amount::after {
  content: ' ﷼';
  color: #2d3748;
  font-weight: 600;
  margin-left: 4px;
}

.reel-actions-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  background: #f8f9fa;
  border: none;
  border-radius: 8px;
  padding: 8px;
  color: #4a5568;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.action-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn i {
  font-size: 16px;
}

.like-btn {
  background: #f8f9fa;
  border: none;
  border-radius: 8px;
  padding: 8px;
  color: #4a5568;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
}

.like-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.like-btn.liked {
  background: #fed7d7;
  color: #e53e3e;
}

.like-btn.liked:hover {
  background: #feb2b2;
}

.like-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53e3e;
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* RTL Support for Reel Cards */
.locale-ar .reel-store-info {
  flex-direction: row-reverse;
}

.locale-ar .store-details {
  text-align: right;
}

.locale-ar .reel-footer-content {
  flex-direction: row-reverse;
}

/* Instagram-style Card Design */
.instagram-card {
  background: white;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

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

/* Instagram Header */
.instagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #fafafa;
  background: white;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.profile-picture {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.username {
  font-weight: 600;
  color: #262626;
  font-size: 14px;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location {
  color: #8e8e8e;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.follow-btn {
  background: #0095f6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.follow-btn:hover {
  background: #0081d6;
  transform: translateY(-1px);
}

.more-btn {
  background: none;
  border: none;
  color: #262626;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.more-btn:hover {
  background-color: #fafafa;
}

/* Instagram Content */
.instagram-content {
  flex: 1;
  position: relative;
}

.image-container {
  position: relative;
  width: 100%;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.instagram-card:hover .instagram-image {
  transform: scale(1.02);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e8e;
  font-size: 14px;
  flex-direction: column;
  background: #fafafa;
}

.image-placeholder i {
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* Instagram Footer */
.instagram-footer {
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #fafafa;
}

.action-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.action-icons-rtl {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.left-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-icons-rtl .left-actions {
  flex-direction: row-reverse;
}


.action-icon {
  background: none;
  border: none;
  color: #008080;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.share-button-fixed {
  background: none;
  border: none;
  color: #008080;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.share-button-fixed:hover {
  color: #006666;
  transform: scale(1.1);
}

.action-icon:hover {
  color: #006666;
  transform: scale(1.1);
}

.action-icon.like-btn {
  position: relative;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.action-icon.like-btn {
  color: #008080;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.action-icon.like-btn.liked {
  color: #008080;
  animation: heartBeat 0.3s ease;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.action-icon.like-btn.liked:hover {
  color: #006666;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.likes-count {
  font-weight: 600;
  color: #262626;
  font-size: 14px;
  margin-bottom: 8px;
}

.caption {
  margin-bottom: 8px;
  line-height: 1.4;
}

.caption .username {
  font-weight: 600;
  color: #262626;
  font-size: 14px;
  margin-right: 6px;
}

.caption-text {
  color: #262626;
  font-size: 14px;
}

.price-info {
  margin-top: 8px;
}

.price-tag {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.currency-symbol {
  color: #000000;
  font-weight: 600;
}

.price-amount {
  color: #e53e3e;
  font-weight: 600;
}

/* Arabic Inline Layout */
.profile-section-ar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  width: 100%;
}

.profile-left {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
}

.profile-info-ar {
  direction: rtl;
  text-align: right;
}

.username-inline {
  font-weight: 600;
  color: #262626;
  font-size: 14px;
  text-align: right;
  margin-bottom: 1px;
}

.location-ar {
  color: #8e8e8e;
  font-size: 12px;
  text-align: right;
  direction: rtl;
}

.profile-right {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
}

.follow-btn-inline {
  background: #0095f6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.follow-btn-inline:hover {
  background: #0081d6;
  transform: translateY(-1px);
}

.more-btn-inline {
  background: none;
  border: none;
  color: #262626;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.more-btn-inline:hover {
  background-color: #fafafa;
}

/* RTL Support for Instagram Cards */
.locale-ar .instagram-card {
  direction: rtl;
}

.locale-ar .profile-section {
  flex-direction: row-reverse;
}

.locale-ar .profile-info {
  text-align: right;
}

.locale-ar .username {
  text-align: right;
}

.locale-ar .location {
  text-align: right;
}

.locale-ar .header-actions {
  flex-direction: row-reverse;
}

.locale-ar .action-icons {
  flex-direction: row-reverse;
}

.locale-ar .left-actions {
  flex-direction: row-reverse;
}

.locale-ar .likes-count {
  text-align: right;
  direction: rtl;
}

.locale-ar .caption {
  text-align: right;
  direction: rtl;
}

.locale-ar .caption .username {
  margin-right: 0;
  margin-left: 6px;
}

.locale-ar .price-tag {
  text-align: right;
  direction: rtl;
}

/* Comments Section Styles */
.comments-section {
  margin-top: 8px;
}

.comments-section.hidden {
  display: none !important;
}

.comments-list {
  margin-bottom: 8px;
}

.comment-item {
  margin-bottom: 8px;
  line-height: 1.4;
  display: block;
}

.comment-username {
  font-weight: 600;
  color: #262626;
  font-size: 14px;
  margin-right: 6px;
}

.comment-text {
  color: #262626;
  font-size: 14px;
  word-wrap: break-word;
}

.comment-input-container {
  margin-top: 8px;
  border-top: 1px solid #fafafa;
  padding-top: 8px;
}

.comment-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #262626;
  outline: none;
  padding: 8px 0;
}

.comment-input::placeholder {
  color: #8e8e8e;
}

.comment-submit-btn {
  background: none;
  border: none;
  color: #0095f6;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.comment-submit-btn:hover:not(:disabled) {
  opacity: 1;
}

.comment-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* RTL Support for Comments */
.locale-ar .comments-section {
  direction: rtl;
  text-align: right;
}

.locale-ar .comment-item {
  direction: rtl;
  text-align: right;
}

.locale-ar .comment-username {
  margin-right: 0;
  margin-left: 6px;
}

.locale-ar .comment-text {
  text-align: right;
}

.locale-ar .comment-form {
  flex-direction: row-reverse;
  direction: rtl;
}

.locale-ar .comment-input {
  text-align: right;
  direction: rtl;
}

.locale-ar .comment-input::placeholder {
  text-align: right;
}

/* Registration Option Cards */
.registration-options {
  margin-bottom: 2rem;
}

.registration-option-card {
  background: white;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.registration-option-card:hover {
  border-color: #008080;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15);
}

.registration-option-card.selected {
  border-color: #008080;
  background-color: #f8fffe;
  box-shadow: 0 8px 25px rgba(0, 128, 128, 0.2);
}

.option-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 24px;
}

.option-title {
  color: #262626;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.option-description {
  color: #8e8e8e;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Arabic Layout for Registration Cards */
.locale-ar .registration-option-card {
  text-align: center;
}

.locale-ar .option-title {
  font-family: var(--arabic-font);
}

.locale-ar .option-description {
  font-family: var(--arabic-font);
}

/* Responsive Design for Registration Cards */
@media (max-width: 768px) {
  .registration-option-card {
    margin-bottom: 1rem;
  }
  
  .option-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .option-title {
    font-size: 14px;
  }
  
  .option-description {
    font-size: 12px;
  }
}

/* Modal Size Adjustments */
.modal-lg {
  max-width: 800px;
}

/* Form Styling Enhancements */
.auth-form .form-control:focus,
.auth-form .form-select:focus {
  border-color: #008080;
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
}

.auth-form .form-label {
  color: #262626;
  font-weight: 500;
}

.auth-form .form-text {
  color: #8e8e8e;
  font-size: 12px;
}

/* Coming Soon Popup */
.coming-soon-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}

.coming-soon-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

.coming-soon-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 32px;
  animation: pulse 2s infinite;
}

.coming-soon-content h3 {
  color: #262626;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 1rem;
}

.coming-soon-content p {
  color: #8e8e8e;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.coming-soon-subtitle {
  color: #b0b0b0;
  font-size: 14px;
  margin-bottom: 1.5rem;
}

.coming-soon-btn {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.coming-soon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3);
}

/* Arabic Layout for Coming Soon Popup */
.locale-ar .coming-soon-content {
  text-align: center;
}

.locale-ar .coming-soon-content h3,
.locale-ar .coming-soon-content p {
  font-family: var(--arabic-font);
}

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

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
} 

/* Store Owner Modal Custom Styling */
.store-owner-modal {
  max-width: 98vw !important;
  width: 1500px !important;
  margin: 0 auto !important;
}

/* Surfaces Provider Modal Styling */
.surfaces-provider-modal {
  max-width: 98vw !important;
  width: 1500px !important;
  margin: 0 auto !important;
}

.surfaces-provider-modal .modal-content {
  width: 100% !important;
  height: auto !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
}

/* Ensure all modals are visible when shown */
.modal.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.modal.show .modal-dialog {
  display: block !important;
  visibility: visible !important;
}

/* Force all popups to be visible */
#simpleSurfacesProviderPopup,
#simpleStoreOwnerPopup,
#simpleUserPopup,
#verificationPopup,
#loginPopup,
#phoneAlreadyRegisteredPopup,
#phoneNotFoundPopup {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Popup headers styling */
.popup-header {
  background: linear-gradient(135deg, #008080 0%, #006666 100%) !important;
  color: white !important;
  padding: 20px !important;
  margin: -2rem -2rem 2rem -2rem !important;
  border-radius: 8px 8px 0 0 !important;
  text-align: center !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  direction: inherit !important;
  position: relative !important;
}

/* RTL support for popup headers */
html[lang="ar"] .popup-header {
  direction: rtl !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* RTL support for close button in Arabic */
html[lang="ar"] .close-btn {
  right: auto !important;
  left: 15px !important;
}

/* Ensure popup content has proper padding for headers */
#simpleSurfacesProviderPopup .modal-content,
#simpleStoreOwnerPopup .modal-content,
#simpleTechnicianPopup .modal-content,
#simpleUserPopup .modal-content,
#verificationPopup .modal-content,
#loginPopup .modal-content,
#phoneAlreadyRegisteredPopup .modal-content,
#phoneNotFoundPopup .modal-content {
  padding: 2rem !important;
  position: relative !important;
}

/* Close button positioning for popups with headers */
#simpleSurfacesProviderPopup .close-btn,
#simpleStoreOwnerPopup .close-btn,
#simpleTechnicianPopup .close-btn,
#simpleUserPopup .close-btn,
#verificationPopup .close-btn,
#loginPopup .close-btn,
#phoneAlreadyRegisteredPopup .close-btn,
#phoneNotFoundPopup .close-btn {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: none !important;
  border: none !important;
  color: white !important;
  font-size: 24px !important;
  cursor: pointer !important;
  z-index: 1000001 !important;
  opacity: 0.8 !important;
}

/* Force Surfaces Provider modal to be visible */
#surfacesProviderModal.show,
#surfacesProviderModal[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1055 !important;
}

#surfacesProviderModal.show .modal-dialog,
#surfacesProviderModal[style*="display: block"] .modal-dialog {
  display: block !important;
  visibility: visible !important;
  z-index: 1056 !important;
}

#surfacesProviderModal.show .modal-content,
#surfacesProviderModal[style*="display: block"] .modal-content {
  z-index: 1057 !important;
}

/* Force backdrop for Surfaces Provider modal */
#surfacesProviderModal.show::before,
#surfacesProviderModal[style*="display: block"]::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1054;
}

/* Additional positioning and sizing for Surfaces Provider modal */
#surfacesProviderModal.show,
#surfacesProviderModal[style*="display: block"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: auto !important;
}

#surfacesProviderModal.show .surfaces-provider-modal,
#surfacesProviderModal[style*="display: block"] .surfaces-provider-modal {
  position: relative !important;
  margin: 2rem auto !important;
  max-width: 1500px !important;
  width: 100% !important;
}

/* EMERGENCY FIX - Force modal to be visible with maximum specificity */
body #surfacesProviderModal.show,
body #surfacesProviderModal[style*="display: block"],
body #surfacesProviderModal[style*="display:block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
}

body #surfacesProviderModal.show .modal-dialog,
body #surfacesProviderModal[style*="display: block"] .modal-dialog,
body #surfacesProviderModal[style*="display:block"] .modal-dialog {
  display: block !important;
  visibility: visible !important;
  z-index: 1000000 !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 1500px !important;
  max-width: 90vw !important;
  margin: 0 !important;
  min-height: 200px !important;
  height: auto !important;
}

/* Force modal dialog to have dimensions */
body #surfacesProviderModal.show .surfaces-provider-modal,
body #surfacesProviderModal[style*="display: block"] .surfaces-provider-modal,
body #surfacesProviderModal[style*="display:block"] .surfaces-provider-modal {
  display: block !important;
  visibility: visible !important;
  width: 1500px !important;
  max-width: 90vw !important;
  min-height: 200px !important;
  height: auto !important;
  margin: 0 !important;
}

body #surfacesProviderModal.show .modal-content,
body #surfacesProviderModal[style*="display: block"] .modal-content,
body #surfacesProviderModal[style*="display:block"] .modal-content {
  z-index: 1000001 !important;
  width: 100% !important;
  height: auto !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
}



.surfaces-provider-modal .modal-content {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.surfaces-provider-modal .airbnb-modal {
  width: 100% !important;
  max-width: none !important;
}

.surfaces-provider-modal .modal-header {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 2rem;
}

.surfaces-provider-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.surfaces-provider-modal .modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  width: 100% !important;
}

.surfaces-provider-modal .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.surfaces-provider-modal .form-control {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.surfaces-provider-modal .form-control:focus {
  border-color: #008080;
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
}

.surfaces-provider-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.surfaces-provider-modal .btn-close:hover {
  opacity: 1;
}

.surfaces-provider-modal .row {
  margin-bottom: 1rem !important;
}

.surfaces-provider-modal .col-md-6 {
  padding: 0 0.5rem;
}

.surfaces-provider-modal .col-md-4 {
  padding: 0 0.5rem;
}

.surfaces-provider-modal textarea {
  min-height: 60px;
}

.store-owner-modal .modal-content {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.store-owner-modal .airbnb-modal {
  width: 100% !important;
  max-width: none !important;
}

.store-owner-modal .modal-header {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 2rem;
}

.store-owner-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.store-owner-modal .modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  width: 100% !important;
}

.store-owner-modal .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.store-owner-modal .form-control {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.store-owner-modal .form-control:focus {
  border-color: #008080;
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
}

.store-owner-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.store-owner-modal .btn-close:hover {
  opacity: 1;
}

.store-owner-modal .row {
  margin-bottom: 1rem !important;
}

.store-owner-modal .col-md-6 {
  padding: 0 0.5rem;
}

.store-owner-modal .col-md-4 {
  padding: 0 0.5rem;
}

.store-owner-modal textarea {
  min-height: 60px;
}

/* Technician Modal Styles - Same as other modals */
.technician-modal {
  width: 100% !important;
  max-width: none !important;
}

.technician-modal .modal-content {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.technician-modal .airbnb-modal {
  width: 100% !important;
  max-width: none !important;
}

.technician-modal .modal-header {
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 2rem;
  position: relative !important;
}

.technician-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.technician-modal .modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  width: 100% !important;
}

.technician-modal .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.technician-modal .form-control {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.technician-modal .form-control:focus {
  border-color: #008080;
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
}

.technician-modal .btn-close {
  filter: none !important;
  opacity: 0.8;
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  left: auto !important;
  color: white !important;
}

.technician-modal .btn-close:hover {
  opacity: 1;
}

.technician-modal .row {
  margin-bottom: 1rem !important;
}

.technician-modal .col-md-6 {
  padding: 0 0.5rem;
}

.technician-modal .col-md-4 {
  padding: 0 0.5rem;
}

.technician-modal textarea {
  min-height: 60px;
}

/* Responsive adjustments for technician modal */
@media (max-width: 768px) {
  .technician-modal {
    margin: 0.5rem;
    width: calc(100% - 1rem) !important;
  }
  
  .technician-modal .modal-body {
    padding: 1rem;
  }
  
  .technician-modal .modal-header {
    padding: 1rem 1.5rem;
  }
}

/* RTL Form Styling for Arabic */
.rtl-form {
  direction: rtl;
  text-align: right;
}

.rtl-form .form-label {
  text-align: right;
  direction: rtl;
}

.rtl-form .form-control {
  text-align: right;
  direction: rtl;
}

.rtl-form .form-select {
  text-align: right;
  direction: rtl;
}

.rtl-form .input-group {
  direction: rtl;
}

.rtl-form .input-group .form-select {
  border-radius: 0 8px 8px 0 !important;
}

.rtl-form .input-group .form-control {
  border-radius: 8px 0 0 8px !important;
}

.rtl-form .form-check {
  margin-right: 0;
  margin-left: 1rem;
}

.rtl-form .form-check-input {
  margin-right: 0;
  margin-left: 0.5rem;
}

.rtl-form .form-check-label {
  margin-right: 0;
  margin-left: 0.25rem;
}

.rtl-form .d-flex.gap-3 {
  flex-direction: row-reverse;
}

.rtl-form .rtl-radio-group {
  flex-direction: row-reverse;
}

.rtl-form .rtl-radio-group .form-check {
  margin-right: 0;
  margin-left: 1.5rem;
}

.rtl-form .rtl-radio-group .form-check:first-child {
  margin-left: 0;
}

.rtl-form .rtl-radio-group .form-check:last-child {
  margin-left: 1.5rem;
}

/* Force RTL for Arabic locale */
.locale-ar .rtl-form {
  direction: rtl !important;
  text-align: right !important;
}

.locale-ar .rtl-form .form-label {
  text-align: right !important;
  direction: rtl !important;
}

.locale-ar .rtl-form .form-control {
  text-align: right !important;
  direction: rtl !important;
}

.locale-ar .rtl-form .form-select {
  text-align: right !important;
  direction: rtl !important;
}

.locale-ar .rtl-form .input-group {
  direction: rtl !important;
}

.locale-ar .rtl-form .rtl-radio-group {
  flex-direction: row-reverse !important;
}

.locale-ar .rtl-form .rtl-radio-group .form-check {
  margin-right: 0 !important;
  margin-left: 1.5rem !important;
}

.locale-ar .rtl-form .rtl-radio-group .form-check:first-child {
  margin-left: 0 !important;
}

.locale-ar .rtl-form .rtl-radio-group .form-check:last-child {
  margin-left: 1.5rem !important;
}

.rtl-form .rtl-checkbox {
  text-align: right;
  direction: rtl;
}

.rtl-form .rtl-checkbox .form-check-input {
  margin-right: 0;
  margin-left: 0.5rem;
}

.rtl-form .rtl-checkbox .form-check-label {
  margin-right: 0;
  margin-left: 0.25rem;
}

.rtl-form .rtl-captcha {
  flex-direction: row-reverse;
}

.rtl-form .rtl-captcha .form-control {
  text-align: center;
}

.rtl-form .btn-close {
  margin-left: 0;
  margin-right: auto;
}

.rtl-form .modal-header {
  flex-direction: row-reverse;
}

.rtl-form .modal-title {
  text-align: right;
}

/* RTL Header Styling */
.rtl-header {
  flex-direction: row-reverse !important;
}

.rtl-header .btn-close {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.rtl-title {
  text-align: right !important;
  direction: rtl !important;
}

/* Force RTL for Arabic locale header */
.locale-ar .rtl-header {
  flex-direction: row-reverse !important;
}

.locale-ar .rtl-header .btn-close {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.locale-ar .rtl-title {
  text-align: right !important;
  direction: rtl !important;
}

/* Responsive adjustments for store owner modal */
@media (min-width: 1600px) {
  .store-owner-modal {
    max-width: 98vw !important;
    width: 1600px !important;
  }
}

/* Responsive adjustments for surfaces provider modal */
@media (min-width: 1600px) {
  .surfaces-provider-modal {
    max-width: 98vw !important;
    width: 1600px !important;
  }
}

@media (max-width: 1599px) {
  .store-owner-modal {
    max-width: 98vw !important;
    width: 1500px !important;
  }
  
  .surfaces-provider-modal {
    max-width: 98vw !important;
    width: 1500px !important;
  }
}

@media (max-width: 1400px) {
  .store-owner-modal {
    max-width: 98vw !important;
    width: 1400px !important;
  }
  
  .surfaces-provider-modal {
    max-width: 98vw !important;
    width: 1400px !important;
  }
}

@media (max-width: 1200px) {
  .store-owner-modal {
    max-width: 98vw !important;
    width: 1200px !important;
  }
  
  .surfaces-provider-modal {
    max-width: 98vw !important;
    width: 1200px !important;
  }
}

@media (max-width: 768px) {
  .store-owner-modal {
    max-width: 100vw !important;
    width: 95vw !important;
    margin: 1rem !important;
  }
  
  .store-owner-modal .modal-body {
    padding: 1rem;
  }
  
  .surfaces-provider-modal {
    max-width: 100vw !important;
    width: 95vw !important;
    margin: 1rem !important;
  }
  
  .surfaces-provider-modal .modal-body {
    padding: 1rem;
  }
}



/* Verification Modal Styles */
.verification-input {
  font-family: 'Courier New', monospace;
  font-weight: bold;
}

.verification-input:focus {
  border-color: #008080;
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
}

#verificationModal .alert-info {
  background-color: #e3f2fd;
  border-color: #90caf9;
  color: #1565c0;
}

#verificationModal code {
  background-color: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

/*# sourceMappingURL=application.css-fe9002dd2475cd6fe417d10d7f92b7ed5d621a17aa6336b37491f5c0932251bb.map */
