/*
Theme Name: Imobiliare Pro
Theme URI: https://imobiliare-pro.ro
Author: Imobiliare Pro
Description: Temă modernă pentru site-uri de anunțuri imobiliare. Design curat, alb, cu accente roșii. Include pagini de proprietăți, listing, login și register.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: imobiliare-pro
Tags: real-estate, listings, properties, modern, clean, white, red
*/

/* ============================================================
   GOOGLE FONTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --red:        #e63946;
  --red-dark:   #c1121f;
  --red-light:  #fff0f1;
  --blue:       #1d3557;
  --blue-light: #f0f4f8;
  --text:       #1a1a2e;
  --text2:      #555770;
  --text3:      #9a9bb4;
  --bg:         #f5f6fa;
  --white:      #ffffff;
  --border:     #e8e9f0;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
  --radius:     14px;
  --radius-sm:  8px;
  --transition: 0.2s ease;
  --header-h:   66px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
a { color:inherit; text-decoration:none; transition:color var(--transition); }
a:hover { color:var(--red); }
img { max-width:100%; display:block; height:auto; }
ul { list-style:none; }
input, select, textarea, button { font-family:inherit; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:#f0f0f0; }
::-webkit-scrollbar-thumb { background:var(--red); border-radius:3px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.site-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}
.site-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.site-logo span { color: var(--red); }

.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  gap: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.header-search input {
  background: none; border: none; outline: none;
  font-size: 14px; color: var(--text); flex: 1;
}
.header-search input::placeholder { color: var(--text3); }
.header-search .search-icon { color: var(--text3); font-size: 16px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: all var(--transition);
}
.header-nav a:hover { background: var(--bg); color: var(--text); }
.header-nav a.active { color: var(--red); background: var(--red-light); }

.btn-adauga {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 14px; font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}
.btn-adauga:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.4);
  color: #fff !important;
}

.mobile-toggle {
  display: none;
  background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--text);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; outline: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230,57,70,0.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.4);
  color: #fff;
}
.btn-outline {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text2);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-xs { padding: 5px 11px; font-size: 12px; border-radius: 6px; }

/* ============================================================
   HERO / SEARCH BAR (homepage)
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--blue) 0%, #2d4a6b 60%, #3a5f80 100%);
  padding: 60px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 44px; font-weight: 800;
  color: #fff; line-height: 1.15;
  margin-bottom: 14px;
}
.hero-title span { color: #ff9999; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }

.hero-search-box {
  background: var(--white);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.hero-search-box select,
.hero-search-box input {
  background: none; border: none; outline: none;
  padding: 10px 14px;
  font-size: 14px; color: var(--text);
  font-family: inherit;
}
.hero-search-box select { min-width: 130px; border-right: 1.5px solid var(--border); cursor: pointer; }
.hero-search-box input { flex: 1; }
.hero-search-box input::placeholder { color: var(--text3); }
.hero-search-box .search-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; margin-top: 28px; flex-wrap: wrap;
}
.hero-stat { color: rgba(255,255,255,0.8); font-size: 14px; }
.hero-stat strong { color: #fff; font-size: 22px; font-weight: 800; display: block; }

/* ============================================================
   FILTERS BAR
   ============================================================ */
.filters-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filter-group {
  display: flex; flex-direction: column; gap: 4px;
}
.filter-group label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text3);
}
.filter-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text2);
  padding: 8px 12px;
  font-size: 13px; font-weight: 600;
  outline: none; cursor: pointer;
  transition: border-color var(--transition);
  font-family: inherit;
}
.filter-select:focus { border-color: var(--red); color: var(--text); }
.filter-count {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto;
  font-size: 13px; color: var(--text3);
  white-space: nowrap;
}
.filter-count strong { color: var(--red); font-size: 16px; }

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.prop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.prop-image {
  position: relative;
  height: 195px;
  background: linear-gradient(135deg, #2d3561 0%, #c05c7e 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.prop-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.prop-card:hover .prop-image img { transform: scale(1.05); }
.prop-image .no-img {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.5); font-size: 13px;
}
.prop-image .no-img .icon { font-size: 38px; opacity: 0.5; }

.prop-type-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 11px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.prop-type-badge.inchiriere { background: #2d7d46; }
.prop-type-badge.teren      { background: #e67e22; }
.prop-type-badge.casa       { background: #8e44ad; }

.prop-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  border: none; transition: all var(--transition);
}
.prop-fav:hover { background: #fff; transform: scale(1.1); }

.prop-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.prop-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prop-price {
  font-size: 22px; font-weight: 800; color: var(--red);
  margin-bottom: 12px; line-height: 1;
}
.prop-price .currency { font-size: 14px; font-weight: 600; margin-right: 3px; color: var(--text3); }

.prop-specs {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 12px;
}
.prop-spec {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--text2); font-weight: 500;
}
.prop-spec .si { font-size: 15px; color: var(--text3); }

.prop-location {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text3);
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--border);
}

.prop-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   SINGLE PROPERTY PAGE
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text3);
  padding: 18px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text2); }

.single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.single-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.single-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.single-price {
  display: inline-flex; align-items: center;
  background: var(--red);
  color: #fff;
  font-size: 22px; font-weight: 800;
  padding: 10px 22px; border-radius: 50px;
  margin-bottom: 12px;
}

.single-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.single-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.sb-type { background: var(--red-light); color: var(--red); }
.sb-op   { background: #e8f5e9; color: #2d7d46; }
.sb-status { background: var(--blue-light); color: var(--blue); }
.sb-status.rezervat { background: #fff8e1; color: #f39c12; }
.sb-status.vandut   { background: #fce4ec; color: var(--red); }

.single-location { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text3); }

/* Gallery */
.prop-gallery {
  background: linear-gradient(135deg, #2d3561 0%, #c05c7e 100%);
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.prop-gallery img {
  width: 100%; height: 100%; object-fit: cover;
}
.prop-gallery .no-gallery {
  text-align: center; color: rgba(255,255,255,0.6);
}
.prop-gallery .no-gallery .icon { font-size: 48px; margin-bottom: 10px; opacity: 0.5; }
.prop-gallery .no-gallery p { font-size: 15px; }

/* Details card */
.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.detail-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.detail-card-header .dch-icon {
  width: 32px; height: 32px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--red);
}
.detail-card-header h3 { font-size: 16px; font-weight: 800; }
.detail-card-body { padding: 8px 0; }

.detail-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.detail-row:last-child { border-bottom: none; }
.detail-row:hover { background: var(--bg); }
.detail-row .dr-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text2);
}
.detail-row .dr-label .dr-icon {
  width: 28px; height: 28px;
  background: var(--bg);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; border: 1px solid var(--border);
}
.detail-row .dr-value {
  font-size: 14px; font-weight: 700; color: var(--text);
}

/* Description */
.prop-desc { font-size: 15px; color: var(--text2); line-height: 1.8; }

/* Contact sidebar */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.contact-card-inner { padding: 22px; }
.contact-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--blue), #2d7d9a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: rgba(255,255,255,0.6);
  margin: 0 auto 12px;
}
.contact-name { font-size: 17px; font-weight: 800; text-align: center; margin-bottom: 4px; }
.contact-role { font-size: 13px; color: var(--text3); text-align: center; margin-bottom: 18px; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }
.contact-phone-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  transition: all var(--transition);
  border: none; cursor: pointer; width: 100%;
}
.contact-phone-btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.contact-email-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 11px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  transition: all var(--transition);
}
.contact-email-btn:hover { background: var(--blue); color: #fff; }
.contact-no-data { font-size: 13px; color: var(--text3); text-align: center; padding: 8px 0; }

/* Share card */
.share-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.share-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================================
   FORMS (Add/Edit property)
   ============================================================ */
.form-page { max-width: 860px; margin: 0 auto; padding: 28px 0; }
.form-page-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.form-page-title span { color: var(--red); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.form-card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  background: #fafbff;
}
.form-card-header .fc-icon {
  width: 32px; height: 32px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--red);
}
.form-card-header h3 { font-size: 15px; font-weight: 800; }
.form-card-body { padding: 22px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.form-grid.g2 { grid-template-columns: 1fr 1fr; }
.form-grid.g3 { grid-template-columns: 1fr 1fr 1fr; }
.form-full { grid-column: 1/-1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-control {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 14px;
  font-size: 14px; font-weight: 500;
  outline: none; width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-control::placeholder { color: var(--text3); font-weight: 400; }
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
  background: var(--white);
}
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 11px; color: var(--text3); }

.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.upload-area:hover { border-color: var(--red); background: var(--red-light); }
.upload-area .ua-icon { font-size: 38px; margin-bottom: 8px; }
.upload-area p { font-size: 13px; color: var(--text3); }
.upload-area strong { color: var(--red); }
.preview-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.preview-item {
  width: 90px; height: 90px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); position: relative;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .rm {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(230,57,70,0.9); color: #fff;
  border: none; cursor: pointer; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

.form-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding: 24px 0;
}

/* ============================================================
   AUTH PAGES (login / register)
   ============================================================ */
.auth-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue) 0%, #2d4a6b 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative;
}
.auth-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.auth-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%; max-width: 440px;
  padding: 40px;
  position: relative; z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-logo {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; margin-bottom: 28px;
}
.auth-logo .al-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.auth-logo .al-name { font-size: 20px; font-weight: 800; }
.auth-logo .al-name span { color: var(--red); }

.auth-title { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--text3); text-align: center; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-group label {
  font-size: 13px; color: var(--text2); text-transform: none; letter-spacing: 0;
}
.auth-form .form-control { background: var(--bg); }
.auth-divider {
  text-align: center; position: relative;
  color: var(--text3); font-size: 12px;
}
.auth-divider::before {
  content: ''; position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px; background: var(--border);
}
.auth-divider span { background: var(--white); padding: 0 12px; position: relative; }
.auth-switch {
  text-align: center; font-size: 13px; color: var(--text3); margin-top: 4px;
}
.auth-switch a { color: var(--red); font-weight: 700; }
.remember-row {
  display: flex; align-items: center; justify-content: space-between;
}
.remember-row label {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text2); cursor: pointer;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.remember-row input[type="checkbox"] { accent-color: var(--red); width: 14px; height: 14px; }
.remember-row a { font-size: 13px; color: var(--red); font-weight: 600; }

.pass-strength {
  height: 4px; background: var(--border);
  border-radius: 2px; overflow: hidden; margin-top: 6px;
}
.pass-strength .bar { height: 100%; width: 0%; border-radius: 2px; transition: all 0.3s; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.alert-success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2d7d46; }
.alert-error   { background: var(--red-light); border: 1px solid #ffcdd2; color: var(--red-dark); }
.alert-info    { background: var(--blue-light); border: 1px solid #bbdefb; color: var(--blue); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 28px 0;
}
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; font-weight: 700;
  color: var(--text2); transition: all var(--transition);
}
.pagination a:hover   { border-color: var(--red); color: var(--red); }
.pagination .current  { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius);
  width: 90%; max-width: 440px;
  animation: mIn 0.25s ease;
}
@keyframes mIn { from { opacity:0; transform:translateY(16px) scale(0.97); } to { opacity:1; transform:none; } }
.modal-header {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 16px; font-weight: 800; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text3); }
.modal-close:hover { color: var(--red); }
.modal-body { padding: 22px; }
.modal-footer { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .ei { font-size: 60px; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--text3); margin-bottom: 20px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-red    { background: var(--red-light); color: var(--red); border: 1px solid #ffcdd2; }
.badge-green  { background: #e8f5e9; color: #2d7d46; border: 1px solid #a5d6a7; }
.badge-blue   { background: var(--blue-light); color: var(--blue); border: 1px solid #bbdefb; }
.badge-orange { background: #fff8e1; color: #f39c12; border: 1px solid #ffe082; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .hero-search-box { flex-direction: column; gap: 4px; }
  .hero-search-box select { border-right: none; border-bottom: 1.5px solid var(--border); min-width: auto; width: 100%; }
  .props-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
  .header-nav { gap: 4px; }
  .header-nav a:not(.btn-adauga) { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-grid.g2, .form-grid.g3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-container { padding: 0 16px; }
  .props-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
  .hero-section { padding: 36px 0 44px; }
  .auth-box { padding: 28px 20px; }
}

/* ============================================================
   UTILITY / ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
.fade-up { animation: fadeUp 0.4s ease forwards; }
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.2s; }

/* WordPress defaults */
.aligncenter { display:block; margin: 0 auto 16px; }
.screen-reader-text { position:absolute; left:-9999px; }
