/*
Theme Name:  Listeo ChildTheme
Template:  listeo
*/

/* =========================
   LISTING TYPE CARD
========================= */

.listing-type {
  position: relative;
  padding: 30px 20px;
  border-radius: 14px;
  border: 4px solid rgba(0,0,0,0.04);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   DESCRIPTION
========================= */

.listing-desc {
  font-size: 12.5px;
  color: #888;
  margin-top: 4px;
  text-align: center;
  line-height: 1.4;
  transition: all .25s ease;
}

/* subtle purple hover */
.listing-type:hover .listing-desc {
  color: #b084ff;
}

/* =========================
   ICON
========================= */

.listing-type-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  font-size: 28px;
  margin-bottom: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* =========================
   HOVER CARD
========================= */

.listing-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.listing-type:hover .listing-type-icon {
  transform: scale(1.12);
}

/* =========================
   TITLE
========================= */

.listing-type h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
}

/* =========================
   GRID
========================= */

.listing-type-container {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px){
  .listing-type-container{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px){
  .listing-type-container{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px){
  .listing-type-container{
    grid-template-columns: 1fr;
  }
}

/* =========================
   ACTIVE / HOVER (BLACK UI)
========================= */

a.listing-type.active,
a.listing-type.selected,
a.listing-type:hover {
  background: linear-gradient(145deg, #000000, #0a0a0a) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
}

/* title white */
a.listing-type.active h3,
a.listing-type.selected h3,
a.listing-type:hover h3 {
  color: #ffffff !important;
}

/* description in active */
a.listing-type.active .listing-desc,
a.listing-type.selected .listing-desc,
a.listing-type:hover .listing-desc {
  color: #aaa;
}

/* 🔥 icon glow (premium touch) */
a.listing-type.active .listing-type-icon {
  box-shadow: 0 0 20px rgba(125,75,226,0.6);
}

/* =========================
   🔥 DASHBOARD STATS (LISTDOME STYLE - BLACK EDITION)
========================= */

.dashboard-stat {
  border-radius: 16px;
  padding: 25px;
  background: linear-gradient(135deg, #000000, #0a0a0a) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* subtle purple glow overlay */
.dashboard-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(125,75,226,0.15), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

/* hover effect */
.dashboard-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(125,75,226,0.25);
}

/* REMOVE old colors */
.dashboard-stat.color-1,
.dashboard-stat.color-2,
.dashboard-stat.color-3,
.dashboard-stat.color-4 {
  background: linear-gradient(135deg, #000000, #0a0a0a) !important;
}

/* TEXT COLORS */

.dashboard-stat .dashboard-stat-content h4 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
}

.dashboard-stat .dashboard-stat-content span {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* ICONS */

.dashboard-stat .dashboard-stat-icon i {
  color: #7d4be2 !important;
  opacity: 0.9;
}

/* OPTIONAL: διαφοροποίηση ανά card (κρατάς identity χωρίς να χαλάς το design) */

.dashboard-stat.color-1 .dashboard-stat-icon i {
  color: #22c55e !important; /* green */
}

.dashboard-stat.color-2 .dashboard-stat-icon i {
  color: #3b82f6 !important; /* blue */
}

.dashboard-stat.color-3 .dashboard-stat-icon i {
  color: #facc15 !important; /* yellow */
}

.dashboard-stat.color-4 .dashboard-stat-icon i {
  color: #f43f5e !important; /* red */
}

/* =========================
   SEARCH FIXES
========================= */

.main-search-input {
  position: relative;
  z-index: 10000;
}

.select2-container {
  z-index: 10001 !important;
}
.dashboard-stat {
  border: 1px solid rgba(255,255,255,0.04);
}

/* =========================
   SIDEBAR FIX
========================= */

.full-page-sidebar-inner,
.full-page-sidebar,
.full-page-sidebar .widget {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.full-page-sidebar {
    overflow-y: auto !important;
}

/* =========================
   SELECT DROPDOWN FIX
========================= */

.select2-container .select2-dropdown {
    max-height: 280px !important;
    overflow-y: auto !important;
}

/* =========================
   HIDE HERO FILTERS
========================= */

.main-search-container .custom-search-group,
.main-search-container [id^="custom-search-fields-"] {
    display: none !important;
}

/* =========================
   REMOVE DUPLICATE LABELS
========================= */

.custom-search-field-wrapper label {
    display: none !important;
}

/* =========================
   FILTER HEADER STYLE
========================= */

.custom-search-group-header {
    font-size: 14px;
    font-weight: 500;
    color: #666 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.custom-search-group-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
}

.custom-search-group-header i {
    font-size: 12px;
    color: #7d4be2;
}

.custom-search-group-header:hover,
.custom-search-group-header:hover .custom-search-group-title {
    color: #7d4be2 !important;
}

/* =========================
   WPForms CONFIRMATION
========================= */

.wpforms-confirmation-container,
.wpforms-confirmation-container-full {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #a855f7 !important;
  font-weight: 400;
}
/* =========================
   💜 DASHBOARD NOTICE (LIGHT PURPLE - CLEAN)
========================= */

.notification.notice {
  display: flex;
  align-items: center;
  gap: 10px;

  background: #f3edff !important; /* απαλό μωβ */
  color: #2b0f5f !important;      /* σκούρο μωβ text */
  border: 1px solid rgba(125,75,226,0.2);
  border-radius: 6px;
  padding: 16px 20px;
}

/* text */
.notification.notice p {
  margin: 0;
  font-weight: 500;
}

/* hover */
.notification.notice:hover {
  background: #ede4ff;
}

/* ⚠ ICON (NO CIRCLE) */
.notification.notice::before {
  content: "⚠";
  font-size: 16px;
  color: #7d4be2;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(1px);
}
/* =========================
   FIX SEARCH BUTTON (HOME ONLY)
========================= */

/* κρύβει το fake overlay */
body.home .main-search-input button.button::before {
  display: none !important;
}

/* αλλάζει το πραγματικό text */
body.home .main-search-input button.button {
  font-size: 0;
}

body.home .main-search-input button.button::after {
  content: "See All Listings";
  font-size: 18px;
  font-weight: 500;
}
body.home .main-search-input button.button::after {
  position: relative;
  top: 3px;
}