.founder-card {
  margin-top: 50px;
}
@media (max-width: 768px) {
  .founder-card {
    margin-top: 20px;
  }
}
.app-theme-modal .modal-content.app-style {
  background-color: var(--white);
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: var(--gray-800);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  max-width: 800px;
  padding: 0;
  width: 95%;
}
[data-theme="dark"] .app-theme-modal .modal-content.app-style {
  background-color: #1a1a1a;
  color: #fff;
}
.modal-header.app-header {
  align-items: center;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 25px;
  position: relative;
  z-index: 10;
}
[data-theme="dark"] .modal-header.app-header {
  background-color: #1a1a1a;
  border-bottom: none;
  color: #fff;
}
.modal-header.app-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}
.modal-header.app-header .close-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 8px;
  transition: transform 0.2s;
}
[data-theme="dark"] .modal-header.app-header .close-btn {
  color: #fff;
}
.modal-header.app-header .close-btn:hover {
  background: var(--gray-100);
  transform: scale(1.1);
}
[data-theme="dark"] .modal-header.app-header .close-btn:hover {
  background: #333;
}
.app-form {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 25px;
}
.app-input-group {
  margin-bottom: 20px;
}
.app-input-group label {
  display: block;
  font-size: 0.95rem;
}
.app-input-group label,
.settings-label {
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 8px;
}
.settings-label {
  display: block !important;
}
[data-theme="dark"] .app-input-group label,
[data-theme="dark"] .settings-label {
  color: #ccc;
}
.input-with-icon {
  align-items: center;
  display: flex;
  position: relative;
}
.input-with-icon .input-icon {
  color: var(--gray-500);
  left: 15px;
  pointer-events: none;
  position: absolute;
}
[dir="rtl"] .input-with-icon .input-icon {
  left: auto;
  right: 15px;
}
.app-input {
  background-color: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  color: var(--gray-900);
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 15px 12px 45px;
  transition: all 0.2s;
  width: 100%;
}
[dir="rtl"] .app-input {
  padding-left: 15px;
  padding-right: 45px;
}
[data-theme="dark"] .app-input {
  background-color: #262626;
  border-color: #404040;
  color: #fff;
}
.app-input:focus {
  background-color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}
[data-theme="dark"] .app-input:focus {
  background-color: #333;
  border-color: #667eea;
}
textarea.app-input {
  min-height: 100px;
  resize: none;
}
.app-input.highlight-border {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}
[data-theme="dark"] .app-input.highlight-border {
  background-color: #262626;
  border-color: #667eea;
  color: #fff;
}
.location-group {
  align-items: center;
  display: flex;
  position: relative;
}
.app-input.with-icons {
  padding-left: 40px;
  padding-right: 40px;
  text-align: center;
}
[dir="rtl"] .app-input.with-icons {
  padding-left: 40px;
  padding-right: 40px;
  text-align: right;
}
.location-icon-end,
.location-icon-start {
  color: var(--gray-500);
  font-size: 1.1rem;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}
[data-theme="dark"] .location-icon-end,
[data-theme="dark"] .location-icon-start {
  color: #fff;
}
.location-icon-start {
  left: 15px;
}
.location-icon-end {
  right: 15px;
}
[dir="rtl"] .location-icon-start {
  left: auto;
  right: 15px;
}
[dir="rtl"] .location-icon-end {
  left: 15px;
  right: auto;
}
select.app-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%234a5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 12px;
  cursor: pointer;
}
[data-theme="dark"] select.app-input {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-position: left 15px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px !important;
}
[data-theme="dark"][dir="ltr"] select.app-input {
  background-position: right 15px center !important;
}
[dir="rtl"] select.app-input {
  background-position: left 15px center;
}
.app-images-section {
  margin-top: 10px;
}
.images-label {
  color: var(--gray-700);
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: right;
}
[data-theme="dark"] .images-label {
  color: #fff;
}
[dir="ltr"] .images-label {
  text-align: left;
}
.app-image-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.upload-tile {
  align-items: center;
  background-color: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 80px;
  justify-content: center;
  position: relative;
  transition: all 0.2s;
  width: 80px;
}
[data-theme="dark"] .upload-tile {
  background-color: #2d2d2d;
  border: 1px solid #404040;
  color: #fff;
}
.upload-tile:hover {
  background-color: var(--gray-200);
  border-color: var(--primary-color);
}
[data-theme="dark"] .upload-tile:hover {
  background-color: #333;
  border-color: #667eea;
}
.upload-tile i.fa-camera {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.auction-modal-content.app-style,
.settings-modal-content.app-style {
  max-height: 90vh;
  overflow-y: auto;
}
.auction-modal-content.app-style::-webkit-scrollbar,
.settings-modal-content.app-style::-webkit-scrollbar {
  width: 6px;
}
.auction-modal-content.app-style::-webkit-scrollbar-track,
.settings-modal-content.app-style::-webkit-scrollbar-track {
  background: var(--gray-100);
}
.settings-modal-content.app-style::-webkit-scrollbar-track,
[data-theme="dark"] .auction-modal-content.app-style::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.auction-modal-content.app-style::-webkit-scrollbar-thumb,
.settings-modal-content.app-style::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 3px;
}
.settings-modal-content.app-style::-webkit-scrollbar-thumb,
[data-theme="dark"] .auction-modal-content.app-style::-webkit-scrollbar-thumb {
  background: #404040;
}
.security-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 20px;
}
[data-theme="dark"] .security-card {
  background-color: #2d2d2d;
  border-color: #404040;
}
.security-card h4 {
  color: var(--gray-800);
  font-size: 1.1rem;
  margin-bottom: 15px;
  margin-top: 0;
}
[data-theme="dark"] .security-card h4 {
  color: #fff;
}
.security-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.security-divider {
  background-color: var(--gray-200);
  height: 1px;
  margin: 5px 0;
}
[data-theme="dark"] .security-divider {
  background-color: #404040;
}
.security-status.success {
  align-items: center;
  color: var(--success-color);
  display: flex;
  font-weight: 600;
  gap: 8px;
  margin-top: 10px;
}
.security-info-row {
  align-items: center;
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.security-info-row p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0;
}
[data-theme="dark"] .security-info-row p {
  color: var(--gray-400);
}
.security-icon-circle {
  align-items: center;
  background-color: var(--gray-100);
  border-radius: 50%;
  color: var(--gray-600);
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}
[data-theme="dark"] .security-icon-circle {
  background-color: #404040;
  color: #ccc;
}
.account-status-box {
  align-items: center;
  border-radius: 10px;
  display: flex;
  font-weight: 500;
  gap: 10px;
  margin-top: 5px;
  padding: 15px;
}
.account-status-box.warning {
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  color: #c2410c;
}
[data-theme="dark"] .account-status-box.warning {
  background-color: rgba(194, 65, 12, 0.2);
  border-color: hsla(31, 97%, 72%, 0.3);
  color: #fdba74;
}
.account-status-box.success {
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #15803d;
}
[data-theme="dark"] .account-status-box.success {
  background-color: rgba(21, 128, 61, 0.2);
  border-color: rgba(134, 239, 172, 0.3);
  color: #86efac;
}
.profile-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  margin-top: 10px;
}
.profile-image-wrapper {
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 120px;
  overflow: hidden;
  position: relative;
  width: 120px;
}
#settingsProfileImage {
  background-color: var(--gray-200);
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.camera-icon-overlay {
  align-items: center;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 35px;
  justify-content: center;
  left: 0;
  position: absolute;
  transition:
    background 0.3s,
    height 0.3s;
  width: 100%;
}
.camera-icon-overlay:hover {
  background: rgba(0, 0, 0, 0.8);
  height: 40px;
}
.camera-icon-overlay i {
  font-size: 1.2rem;
}
[data-theme="dark"] .profile-image-wrapper {
  border-color: #667eea;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] #settingsProfileImage {
  background-color: #2d2d2d;
}
.user-menu {
  display: inline-block;
  position: relative;
}
.user-dropdown {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: none;
  margin-top: 10px;
  min-width: 200px;
  padding: var(--spacing-xs) 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
}
[dir="rtl"] .user-dropdown {
  left: 0;
  right: auto;
}
.user-dropdown.show {
  animation: fadeIn 0.2s ease-out;
  display: block;
}
.dropdown-item {
  align-items: center;
  color: var(--text-color);
  display: flex;
  font-size: 0.95rem;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.dropdown-item:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}
.dropdown-item i {
  text-align: center;
  width: 20px;
}
.dropdown-divider {
  background-color: var(--gray-200);
  height: 1px;
  margin: 4px 0;
}
.logout-item:hover {
  background-color: #fee2e2;
  color: #ef4444;
}
[data-theme="dark"] .user-dropdown {
  background-color: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}
[data-theme="dark"] .dropdown-item {
  color: var(--dark-text-primary);
}
[data-theme="dark"] .dropdown-item:hover {
  background-color: var(--dark-bg-primary);
}
[data-theme="dark"] .dropdown-divider {
  background-color: var(--dark-border);
}
[data-theme="dark"] .logout-item:hover {
  background-color: rgba(239, 68, 68, 0.2);
}
.modal-content.privacy-modal-content {
  display: flex;
  flex-direction: column;
  height: 90vh;
  max-height: 90vh;
  max-width: 1600px;
  overflow: hidden;
  padding: 0;
  width: 95%;
}
.privacy-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: hidden;
  padding: 0;
}
.privacy-tabs {
  display: flex;
  flex: 1;
  gap: 0;
  height: 100%;
  min-height: 0;
}
.tab-buttons {
  background-color: #f8f9fa;
  border-left: 1px solid var(--gray-200);
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  gap: var(--spacing-sm);
  overflow-y: auto;
  padding: var(--spacing-lg);
}
[dir="rtl"] .tab-buttons {
  border-left: none;
  border-right: 1px solid var(--gray-200);
  padding: var(--spacing-lg);
}
.tab-btn {
  background: none;
  border: none;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  transition: all var(--transition-fast);
}
[dir="rtl"] .tab-btn {
  text-align: right;
}
.tab-btn:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
}
.tab-btn.active {
  background-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  color: #fff;
  font-weight: 600;
}
.tab-content {
  background: #fff;
  border-radius: 0;
  flex: 1;
  margin-bottom: 0;
  overflow-y: auto;
  padding: var(--spacing-2xl);
}
.tab-panel h3 {
  border-bottom: none;
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  padding-bottom: 0;
}
.tab-panel h4 {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin: var(--spacing-xl) 0 var(--spacing-md);
  padding-left: var(--spacing-md);
  position: relative;
}
[dir="rtl"] .tab-panel h4 {
  border-right: 4px solid var(--primary-color);
  padding-left: 0;
  padding-right: var(--spacing-md);
}
[dir="ltr"] .tab-panel h4 {
  border-left: 4px solid var(--primary-color);
}
.tab-panel p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}
.tab-panel ol,
.tab-panel ul {
  margin-bottom: var(--spacing-md);
  padding-inline-start: var(--spacing-lg);
}
.tab-panel li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}
[data-theme="dark"] .modal-content.privacy-modal-content {
  background-color: var(--dark-bg-primary);
}
[data-theme="dark"] .tab-buttons {
  background-color: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}
[data-theme="dark"] .tab-btn {
  color: var(--dark-text-secondary);
}
[data-theme="dark"] .tab-btn:hover {
  background-color: var(--dark-border);
  color: var(--dark-text-primary);
}
[data-theme="dark"] .tab-btn.active {
  background-color: var(--primary-color);
  color: #fff;
}
[data-theme="dark"] .tab-content {
  background-color: var(--dark-bg-primary);
  color: var(--dark-text-primary);
}
[data-theme="dark"] .tab-panel h3 {
  border-color: var(--dark-border);
  color: var(--dark-text-primary);
}
[data-theme="dark"] .tab-panel h4 {
  color: var(--primary-light);
}
[data-theme="dark"] .tab-panel li,
[data-theme="dark"] .tab-panel ol,
[data-theme="dark"] .tab-panel p {
  color: var(--dark-text-secondary);
}
[data-theme="dark"][dir="rtl"] .tab-panel h4 {
  border-right-color: var(--primary-color);
}
[data-theme="dark"][dir="ltr"] .tab-panel h4 {
  border-left-color: var(--primary-color);
}
@media (max-width: 768px) {
  .modal-content.privacy-modal-content {
    border-radius: 0;
    height: 100%;
    max-height: 100vh;
    width: 100%;
  }
  .privacy-tabs {
    flex-direction: row;
  }
  .tab-buttons {
    background-color: #f8f9fa;
    border-bottom: none;
    border-left: 1px solid var(--gray-200);
    flex: 0 0 130px;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
    overflow-y: auto;
    padding: var(--spacing-sm);
  }
  [dir="rtl"] .tab-buttons {
    border-left: none;
    border-right: 1px solid var(--gray-200);
  }
  .tab-btn {
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 8px 5px;
    text-align: center;
    white-space: normal;
  }
  [dir="rtl"] .tab-btn {
    padding-right: 8px;
    text-align: right;
  }
  .tab-content {
    padding: var(--spacing-md);
  }
  .tab-panel h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
  }
  .tab-panel h4 {
    font-size: 1rem;
    margin-top: var(--spacing-md);
  }
  .tab-panel li,
  .tab-panel p {
    font-size: 0.9rem;
  }
}

.categories-grid,
.auctions-grid {
  justify-items: center;
}
.category-card,
.feature-card,
.auction-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.category-card .icon,
.category-card .category-icon,
.feature-card .icon,
.auction-card .icon {
  margin-inline: auto;
}
.category-card h3,
.feature-card h3,
.auction-card h3 {
  text-align: center;
}
html[lang="en"] .auction-card {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}
html[lang="en"] .auction-content {
  padding: 15px;
}
html[lang="en"] .auction-title {
  font-size: 1.1rem; /* Reduced from default */
  margin-bottom: 8px;
}
html[lang="en"] .countdown-timer {
  gap: 5px; /* Reduce gap between units */
}
html[lang="en"] .time-unit {
  min-width: 50px; /* Reduced width */
  padding: 5px; /* Reduced padding */
  font-size: 0.9rem; /* Smaller font */
}
html[lang="en"] .time-value {
  font-size: 1.2rem; /* Smaller numbers */
}
html[lang="en"] .time-label {
  font-size: 0.7rem; /* Smaller labels */
}
html[lang="en"] .auction-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  gap: 5px;
}
html[lang="en"] .auction-status {
  min-width: 60px;
  width: auto;
  padding: 4px 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px; /* Optional: match design */
}
html[lang="en"] .featured-badge,
html[lang="en"] .regular-badge {
  padding: 4px 8px;
  font-size: 0.85rem;
  white-space: nowrap;
}
html[lang="en"] .current-bid,
html[lang="en"] .current-bid .label,
html[lang="en"] .current-bid .value,
html[lang="ar"] .current-bid,
html[lang="ar"] .current-bid .label,
html[lang="ar"] .current-bid .value {
  color: #000000 !important;
}
.bid-info {
  background-color: #48bb78;
  padding: 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin-top: auto;
}
.bid-info .current-bid {
  text-align: right;
}
.bid-info .current-bid .label,
.bid-info .current-bid .value {
  color: #000000 !important;
  display: block;
}
.bid-info .current-bid .label {
  font-size: 0.8rem;
  margin-bottom: 2px;
}
.bid-info .current-bid .value {
  font-size: 1.1rem;
  font-weight: bold;
}
.bid-btn {
  background-color: #764ba2 !important; /* Purple background to match request */
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  font-family: "Tajawal", "Cairo", sans-serif;
}
.bid-btn:hover {
  background-color: #5a3780 !important; /* Darker purple on hover */
}

/* New Auction Modal Styles */
.auction-modal-content {
  width: 95% !important;
  max-width: 1400px !important;
  height: 90vh !important;
  max-height: 90vh !important;
  border-radius: 20px !important;
  margin: 2rem auto !important;
  display: flex;
  flex-direction: column;
  background-color: var(--gray-50);
}

.auction-details-container {
  display: flex;
  flex-direction: column; /* Mobile first */
  gap: 2rem;
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 992px) {
  .auction-details-container {
    flex-direction: row; /* Desktop */
    align-items: flex-start;
  }

  [dir="rtl"] .auction-details-container {
    flex-direction: row-reverse; /* Keep LTR layout even in RTL if image matches design */
  }

  .auction-info-column {
    flex: 1;
    min-width: 300px;
    order: 2; /* Info on Right */
  }

  .auction-image-column {
    flex: 1.5;
    order: 1; /* Image on Left */
    position: sticky;
    top: 2rem;
  }
}

.auction-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auction-image-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: -1;
}

.main-image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: white;
}

.main-image-container img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

.detail-timer-section {
  margin-bottom: 1rem;
}

.countdown-timer {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.time-unit {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px 10px;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.time-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #667eea;
  line-height: 1.2;
}

.time-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.status-card-green {
  background-color: #48bb78;
  color: white;
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 10px 15px -3px rgba(72, 187, 120, 0.3);
}

.status-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.huge-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.status-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

.current-price-display {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
}

.detail-section h3 {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  text-align: right;
}
[dir="ltr"] .detail-section h3 {
  text-align: left;
}

.text-content {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
  color: var(--gray-700);
}

.owner-info {
  background: white;
  padding: 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 2px solid var(--accent-light);
}

.contact-actions {
  display: flex;
  gap: 10px;
}

.contact-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
  text-decoration: none;
}

.phone-btn {
  background-color: #f3f0ff;
  color: #6b46c1;
}

.chat-btn {
  background-color: #f3f0ff;
  color: #6b46c1;
}

.phone-btn:hover,
.chat-btn:hover {
  background-color: #e9d8fd;
  transform: scale(1.05);
}

.owner-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.owner-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

[dir="ltr"] .owner-text {
  text-align: left;
}

.owner-name {
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1rem;
}

.owner-label {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.owner-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bid-card-blue {
  background-color: #667eea; /* Blue */
  padding: 2rem;
  border-radius: 16px;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(102, 126, 234, 0.4);
}

.bid-form-styled {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.bid-input-styled {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  font-size: 1.1rem;
  text-align: center;
  background-color: white;
  color: #333;
}

.bid-action-btn {
  background-color: #764ba2; /* Purple */
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.bid-action-btn:hover {
  background-color: #5a3780;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .bid-input-styled {
    padding: 8px 10px;
    font-size: 0.95rem;
  }
}

.force-hide {
  display: none !important;
} /* Navbar Scroll Line & Spacing Fix */
.navbar {
  position: relative;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  z-index: 1001; /* Ensure navbar is on top */
}
.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(
    90deg,
    rgba(118, 75, 162, 0.45),
    rgba(102, 126, 234, 0.45)
  );
  transform: scaleX(0); /* Hidden initially */
  transform-origin: center; /* Expands from center */
  transition: transform 0.4s ease-in-out;
  z-index: 1002; /* Ensure line is visible */
}
.navbar.scrolled::after {
  transform: scaleX(1); /* Full width on scroll */
}
main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.hero {
  margin-top: 0 !important;
}
