/* Single Ad Page Styles */

.single-ad-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 25px;
}

.single-post {
  position: relative;
}

.single-post > *:last-child {
  margin-bottom: 0 !important;
}

/* Labels */
.single-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.single-label-item {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.single-label-item.super {
  background: #ffa000;
}

.single-label-item.vip {
  background: #d32f2f;
}

.single-label-item.nra {
  background: #1976d2;
}

.single-label-item.green {
  background: #43a047;
}

.single-label-item.red {
  background: #e53935;
}

/* Alerts */
.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px;
  border-radius: 6px;
}

.alert-info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  padding: 15px 20px;
  border-radius: 6px;
}

[class^="alert-"] {
  font-size: 14px;
}

[class^="alert-"] > *:not(:last-child) {
  margin-bottom: 10px;
}

[class^="alert-"] > *:last-child {
  margin-bottom: 0;
}

/* Image */
.single-image {
  margin-bottom: 25px;
}

.single-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Title Section */
.single-title {
  margin-bottom: 20px;
}

.single-title-text h1 {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #1a1a1a;
}

.single-title-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 4px;
  font-size: 14px;
  color: #666;
}

.single-title-meta li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.single-title-meta li:not(:last-child)::after {
  content: "•";
  margin-left: 5px;
  color: #ccc;
}

.single-title-meta i {
  font-size: 16px;
}

/* Action Buttons */
.single-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.btn-dark {
  background-color: #333;
  color: #fff;
}

.btn-dark:hover {
  background-color: #222;
}

.btn-main {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.btn-main:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-success {
  background-color: #25d366;
  color: #fff;
}

.btn-success:hover {
  background-color: #1da851;
}

.btn-info {
  background-color: #0088cc;
  color: #fff;
}

.btn-info:hover {
  background-color: #006699;
}

.btn-purple {
  background-color: #8e44ad;
  color: #fff;
}

.btn-purple:hover {
  background-color: #732d91;
}

.btn-secondary {
  background-color: #6c757d;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #545b62;
}

/* Share Panel */
.single-share {
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.single-share.hidden {
  display: none;
}

.single-share-body {
  background-color: #f8f9fa;
  padding: 15px 20px;
  border-radius: 6px;
}

.socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.socials li {
  margin: 0;
}

.socials li a {
  display: block;
  transition: transform 0.3s ease;
}

.socials li a:hover {
  transform: scale(1.1);
}

.socials img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Price and Likes */
.single-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.single-info-price span {
  font-size: 28px;
  font-weight: 700;
}

.single-info-likes {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.single-info-likes i {
  font-size: 20px;
}

/* Contact Numbers */
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.contact-buttons .btn i {
  font-size: 20px;
}

/* Description */
.single-description {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 15px;
}

.single-description p {
  margin-bottom: 15px;
}

/* Notice */
.single-notice {
  margin-bottom: 20px;
}

/* Manage/Complaints Section */
.single-manage {
  margin-bottom: 20px;
}

.single-manage-title h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.single-manage-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.single-manage-alert {
  margin-bottom: 20px;
}

/* Popups */

.adzy-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.adzy-popup-modal {
  background: white;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.adzy-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}

.adzy-popup-header h2 {
  margin: 0;
  font-size: 18px;
}

.adzy-popup-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  padding: 0;
  line-height: 1;
}

.adzy-popup-content {
  font-size: 90%;
  padding: 15px 20px;
}

.adzy-popup-content > *:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .single-ad-page {
    padding: 15px;
  }

  .single-title-text h1 {
    font-size: 22px;
  }

  .single-info-price span {
    font-size: 22px;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .single-title {
    margin-bottom: 15px;
  }

  .single-title-text h1 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .single-actions {
    margin-bottom: 20px;
  }

  .single-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin: 15px;
  }

  .single-info-price span {
    font-size: 20px;
  }

  .single-info-likes {
    font-size: 14px;
  }
}
