/* public/assets/anzeigenmarkt/css/styles.css */
:root {
  --brand: #2d5f41;
  --brand-600: #1e4028;
  --brand-700: #0f2115;
  --brand-900: #0f2418;
  --brand-light: #427a58;
  --brand-50: #f2f7f4;
  --brand-100: #e1ede6;
  --ring: #6ec985;
  --text: #0F172A;
  --muted: #6B7280;
  --card: #FFFFFF;
  --card-border: #E5E7EB;
  --bg: #F7F9FA;
  --surface: #f8faf9;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --success: #10b981;
  --success-bg: #d1fae5;
  --success-border: #6ee7b7;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --error-border: #fca5a5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fcd34d;
  --info: #3b82f6;
  --info-bg: #eff6ff;
  --info-border: #93c5fd;
}
.am-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.am-alert i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.am-alert-success {
  background: var(--success-bg);
  border-color: var(--success);
  color: #065f46;
}
.am-alert-success i {
  color: var(--success);
}
.am-alert-error {
  background: var(--error-bg);
  border-color: var(--error);
  color: #991b1b;
}
.am-alert-error i {
  color: var(--error);
}
.am-alert-warning {
  background: var(--warning-bg);
  border-color: var(--warning);
  color: #92400e;
}
.am-alert-warning i {
  color: var(--warning);
}
.am-alert-info {
  background: var(--info-bg);
  border-color: var(--info);
  color: #1e40af;
}
.am-alert-info i {
  color: var(--info);
}
.am-auth-container {
  min-height: calc(100vh - 120px);
  display: flex;
  background: var(--bg);
}
.am-auth-branding {
  flex: 1;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      #1a3d2a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.am-auth-branding::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  animation: subtleMove 60s linear infinite;
}
@keyframes subtleMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}
.am-auth-branding-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 400px;
}
.am-auth-branding-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.am-auth-branding-icon i {
  font-size: 48px;
  color: white;
}
.am-auth-branding h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}
.am-auth-branding p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 0 40px 0;
  line-height: 1.6;
}
.am-auth-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.am-auth-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.am-auth-benefits li:last-child {
  border-bottom: none;
}
.am-auth-benefits i {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.am-auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: white;
}
.am-form-card {
  width: 100%;
  max-width: 400px;
}
.am-form-icon {
  width: 64px;
  height: 64px;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      var(--brand-600) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(45, 95, 65, 0.25);
}
.am-form-icon i {
  font-size: 28px;
  color: white;
}
.am-form-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 8px 0;
}
.am-form-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 32px 0;
}
.am-form-group {
  margin-bottom: 20px;
}
.am-label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 14px;
}
.am-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  font-size: 16px;
  color: var(--text);
  background: #fafbfc;
  transition: var(--transition-fast);
  box-sizing: border-box;
}
.am-input:focus {
  outline: none;
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px rgba(110, 201, 133, 0.15);
}
.am-input::placeholder {
  color: #9ca3af;
}
.am-input.error {
  border-color: var(--error);
}
.am-input.error:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}
.am-forgot-password {
  text-align: right;
  margin: -8px 0 20px 0;
}
.am-forgot-password a {
  font-size: 13px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.am-forgot-password a:hover {
  text-decoration: underline;
}
.am-btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}
.am-divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 28px 0;
}
.am-form-footer {
  text-align: center;
  padding-top: 8px;
}
.am-form-footer p {
  color: var(--muted);
  margin: 0 0 8px 0;
  font-size: 14px;
}
.am-auth-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.am-auth-link:hover {
  color: var(--brand-600);
  text-decoration: underline;
}
.am-social-divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
}
.am-social-divider::before,
.am-social-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--card-border);
}
.am-social-divider span {
  padding: 0 16px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.am-social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.am-social-login .am-btn.am-btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid;
  cursor: pointer;
}
.am-social-login .am-btn.am-btn-social i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}
.am-social-login .am-btn.am-btn-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
.am-social-login .am-btn.am-btn-social.am-btn-google {
  background: #ffffff !important;
  color: #3c4043 !important;
  border-color: #dadce0 !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-google:hover {
  background: #f8f9fa !important;
  border-color: #c6c8ca !important;
  color: #3c4043 !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-google i {
  color: #ea4335 !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-microsoft {
  background: #ffffff !important;
  color: #5e5e5e !important;
  border-color: #8c8c8c !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-microsoft:hover {
  background: #f8f8f8 !important;
  border-color: #5c5c5c !important;
  color: #3c3c3c !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-microsoft i {
  color: #00a4ef !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-apple {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-apple:hover {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #ffffff !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-apple i {
  color: #ffffff !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-twitter {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-twitter:hover {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #ffffff !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-twitter i {
  color: #ffffff !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-facebook:hover {
  background: #0d65d9 !important;
  border-color: #0d65d9 !important;
  color: #ffffff !important;
}
.am-social-login .am-btn.am-btn-social.am-btn-facebook i {
  color: #ffffff !important;
}
.am-social-login-mobile .am-btn.am-btn-social {
  min-height: 50px;
  padding: 14px 16px;
  font-size: 15px;
}
.am-social-login-mobile .am-btn.am-btn-social i {
  font-size: 20px;
}
.am-form-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}
@media (max-width: 991px) {
  .am-auth-container {
    flex-direction: column;
    min-height: auto;
  }
  .am-auth-branding {
    display: none;
  }
  .am-auth-form-panel {
    padding: 24px 16px;
    min-height: calc(100vh - 180px);
  }
  .am-form-card {
    max-width: 100%;
  }
  .am-form-card h1 {
    font-size: 24px;
  }
  .am-form-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .am-form-icon i {
    font-size: 24px;
  }
}
.am-page-header {
  margin-bottom: 32px;
}
.am-page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.am-page-header h1 i {
  color: var(--brand);
}
.am-page-header p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}
.am-empty-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
}
.am-empty-state i {
  font-size: 64px;
  color: var(--card-border);
  margin-bottom: 20px;
}
.am-empty-state h2 {
  font-size: 22px;
  color: var(--text);
  margin: 0 0 12px 0;
  font-weight: 600;
}
.am-empty-state p {
  color: var(--muted);
  margin: 0 0 24px 0;
  font-size: 15px;
}
.am-profile-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.am-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--card-border);
}
.am-profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      var(--brand-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.am-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.am-profile-avatar i {
  font-size: 40px;
  color: white;
}
.am-profile-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
}
.am-profile-info p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.am-profile-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.am-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.am-profile-section {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.am-profile-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-profile-section h2 i {
  color: var(--brand);
}
.am-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.am-full-width {
  grid-column: 1 / -1;
}
.am-profile-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  margin-top: 24px;
}
.am-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}
.am-section-header i {
  font-size: 20px;
  color: var(--brand);
}
.am-section-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.am-file-upload {
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background: #fafafa;
  transition: all var(--transition-normal);
}
.am-file-upload:hover {
  border-color: var(--brand);
  background: rgba(110, 201, 133, 0.05);
}
.am-file-input {
  margin-bottom: 8px;
}
.am-file-help {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.am-file-help i {
  margin-right: 6px;
  color: var(--brand);
}
.am-btn-primary {
  background: var(--brand);
  color: white;
  border: 2px solid var(--brand);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.am-btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.am-btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--card-border);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.am-btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.am-chat-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.am-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--card-border);
}
.am-page-header > i {
  font-size: 32px;
  color: var(--brand);
}
.am-page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}
.am-page-header p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.am-empty-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
}
.am-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      var(--brand-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-empty-icon i {
  font-size: 36px;
  color: white;
}
.am-empty-state h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px 0;
}
.am-empty-state p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 24px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.am-conversations-grid {
  display: grid;
  gap: 12px;
}
.am-conversation-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--transition-normal);
}
.am-conversation-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.am-conversation-icon {
  width: 48px;
  height: 48px;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      var(--brand-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.am-conversation-icon i {
  font-size: 20px;
  color: white;
}
.am-conversation-content {
  flex: 1;
  min-width: 0;
}
.am-conversation-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
}
.am-conversation-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.am-conversation-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.am-conversation-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.am-conversation-meta i {
  margin-right: 4px;
}
.am-conversation-time {
  color: #9ca3af;
}
.am-conversation-arrow {
  color: var(--muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.am-conversation-card:hover .am-conversation-arrow {
  color: var(--brand);
  transform: translateX(4px);
}
.am-chat-container {
  max-width: 800px;
  margin: 0 auto;
}
.am-chat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}
.am-back-link {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: var(--transition-fast);
}
.am-back-link:hover {
  color: var(--brand);
  text-decoration: none;
}
.am-chat-header h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 600;
}
.am-chat-messages {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-height: 500px;
  overflow-y: auto;
  padding: 20px;
  margin-bottom: 20px;
}
.am-messages-list .am-message {
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.am-messages-list .am-message:last-child {
  margin-bottom: 0;
}
.am-message-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.am-message-content {
  color: var(--text);
  line-height: 1.6;
}
.am-chat-input {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.am-chat-input form {
  display: flex;
  gap: 12px;
}
.am-chat-input textarea {
  flex: 1;
  resize: none;
  min-height: 80px;
}
.am-chat-back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition-normal);
  flex-shrink: 0;
}
.am-chat-back:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  text-decoration: none;
}
.am-chat-header-info h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--text);
}
.am-chat-status {
  font-size: 13px;
  color: var(--muted);
}
.am-chat-status i {
  font-size: 8px;
  color: var(--success);
  margin-right: 6px;
}
.am-chat-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.am-chat-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.am-chat-empty p {
  margin: 0;
  font-size: 15px;
}
.am-message-id {
  font-family: monospace;
  font-size: 11px;
  color: #9ca3af;
}
.am-message-time {
  color: var(--muted);
}
.am-message-time i {
  margin-right: 4px;
}
.am-chat-input-area {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.am-chat-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.am-chat-textarea {
  flex: 1;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 14px;
  resize: none;
  min-height: 60px;
  transition: var(--transition-normal);
}
.am-chat-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.1);
}
.am-chat-send-btn {
  width: 48px;
  height: 48px;
  background: var(--brand);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  flex-shrink: 0;
}
.am-chat-send-btn:hover {
  background: var(--brand-600);
  transform: scale(1.05);
}
.am-chat-send-btn i {
  font-size: 18px;
}
.am-chat-attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
}
.am-attachment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
}
.am-attachment-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.am-attachment-btn i {
  font-size: 16px;
}
.am-attachment-info {
  font-size: 12px;
  color: var(--muted);
}
.fav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e74c3c;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 16px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.mt-8 {
  margin-top: 8px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}
.p-16 {
  padding: 16px;
}
.p-20 {
  padding: 20px;
}
.p-24 {
  padding: 24px;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.text-sm {
  font-size: 13px;
}
.text-base {
  font-size: 15px;
}
.text-lg {
  font-size: 18px;
}
.text-xl {
  font-size: 20px;
}
.text-2xl {
  font-size: 24px;
}
.text-muted {
  color: var(--muted);
}
.text-brand {
  color: var(--brand);
}
.text-success {
  color: var(--success);
}
.text-error {
  color: var(--error);
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-20 {
  gap: 20px;
}
@media (max-width: 768px) {
  .am-auth-container {
    padding: 16px 14px 24px;
    background: var(--bg, #F7F9FA);
    display: block;
    min-height: auto;
  }
  .am-auth-form-panel {
    padding: 0 !important;
    min-height: auto !important;
  }
  .am-form-card {
    padding: 22px 18px;
    background: var(--card, #FFFFFF);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
    max-width: 100%;
    margin: 0 auto;
  }
  .am-form-card h1 {
    font-size: 24px;
  }
  .am-profile-header {
    flex-direction: column;
    text-align: center;
  }
  .am-profile-grid {
    grid-template-columns: 1fr;
  }
  .am-form-grid {
    grid-template-columns: 1fr;
  }
  .am-chat-input form {
    flex-direction: column;
  }
}
.anzeigenmarkt-hero {
  position: relative;
  color: white;
  padding: 60px 0 40px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      135deg,
      rgba(45, 95, 65, 0.7) 0%,
      rgba(30, 64, 40, 0.8) 50%,
      rgba(15, 33, 21, 0.9) 100%);
  z-index: 2;
}
.anzeigenmarkt-hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: auto;
  padding: 128px 0 192px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
}
.anzeigenmarkt-hero-image .hero-overlay {
  background:
    linear-gradient(
      135deg,
      rgba(15, 36, 24, 0.75) 0%,
      rgba(30, 64, 40, 0.7) 50%,
      rgba(15, 36, 24, 0.8) 100%);
}
.am-search-form-hero {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
}
.search-form-hero {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.search-form-hero .form-control-mobile {
  background: #fff;
  border: 1px solid #e5e7eb;
}
.search-form-hero label {
  color: #374151;
}
.anzeigenmarkt-hero .container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.anzeigenmarkt-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.anzeigenmarkt-hero p {
  font-size: 1.15rem;
  text-align: center;
  color: var(--brand-100);
  font-weight: 300;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  margin-bottom: 20px;
}
.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px !important;
}
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 15px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}
.anzeigenmarkt-header {
  background: var(--brand-900);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.anzeigenmarkt-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  gap: 24px;
}
.anzeigenmarkt-header .header-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.anzeigenmarkt-header .header-logo-area:hover {
  text-decoration: none;
}
.anzeigenmarkt-header .logo {
  height: 71px;
}
.anzeigenmarkt-header .header-logo-area:hover .logo {
  opacity: 0.9;
}
.anzeigenmarkt-header .sublineAnzeigenmarktLogo {
  color: var(--brand-100);
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}
.auth-link.fav-link {
  position: relative;
}
.auth-link.main-site-link {
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.auth-link.main-site-link:hover {
  background: rgba(255, 255, 255, 0.2);
}
.header-center-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-center-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.header-center-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}
.header-search-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.header-search-input {
  width: 250px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  padding: 0 12px;
  outline: none;
  transition: all 0.2s ease;
}
.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.header-search-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}
.header-search-btn {
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-search-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.am-top-strip {
  position: relative;
  background: #fff;
  border-bottom: none;
  padding: 12px 0;
  overflow: hidden;
}
.am-top-strip-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 4px 0;
}
.am-top-strip-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.01em;
}
.am-top-strip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(45, 95, 65, 0.1);
  border: none;
  color: #1f5138;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}
.header-lkw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.header-lkw-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
}
.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.main-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}
.user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.auth-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.auth-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.auth-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1),
      transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.auth-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ring);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.auth-link:hover::before {
  opacity: 1;
}
.auth-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.auth-link i {
  font-size: 15px;
  transition: transform 0.2s;
}
.auth-link:hover i {
  transform: scale(1.1);
}
.login-link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}
.login-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.register-link {
  background:
    linear-gradient(
      135deg,
      var(--ring) 0%,
      #4ade80 100%);
  border: 2px solid transparent;
  color: #0f2115;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(110, 201, 133, 0.35);
}
.register-link::before {
  background:
    linear-gradient(
      135deg,
      #4ade80,
      var(--ring));
}
.register-link:hover {
  background:
    linear-gradient(
      135deg,
      #5fd990 0%,
      #6ec985 100%);
  border-color: transparent;
  color: #0f2115;
  box-shadow: 0 8px 24px rgba(110, 201, 133, 0.45);
  transform: translateY(-3px);
}
.register-link:active {
  box-shadow: 0 4px 12px rgba(110, 201, 133, 0.3);
}
.header-auth-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-auth-login {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.header-auth-login:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}
.header-auth-register {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(45, 95, 65, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}
.header-auth-register:hover {
  background: var(--brand-light, #427a58);
  color: #fff;
  text-decoration: none;
}
.user-greeting {
  color: #fff;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
}
.user-greeting:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}
.user-greeting-icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
  flex-shrink: 0;
}
.lucide-icon {
  vertical-align: middle;
  flex-shrink: 0;
}
.lucide-menu-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9ca3af;
  transition: color 0.15s ease;
}
.user-greeting-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.user-greeting-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.user-greeting-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}
.user-greeting .fav-badge {
  position: static;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  min-width: 20px;
  text-align: center;
  line-height: 16px;
}
.user-greeting-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  margin-left: -2px;
  flex-shrink: 0;
}
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
}
.user-menu .dropdown {
  position: relative;
}
.user-menu .dropdown::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 8px;
  min-width: 220px;
  list-style: none;
  margin: 0;
}
.user-menu:hover .dropdown-menu,
.user-menu .dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #374151;
  text-decoration: none;
  transition: all 0.15s ease;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.dropdown-menu li a:hover {
  background: var(--brand-50);
  color: var(--brand);
  text-decoration: none;
}
.dropdown-menu li a i,
.dropdown-menu li a .lucide-menu-icon {
  width: 16px;
  height: 16px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.15s ease;
  flex-shrink: 0;
}
.dropdown-menu li a:hover i,
.dropdown-menu li a:hover .lucide-menu-icon {
  color: var(--brand);
}
.dropdown-menu .divider {
  height: 1px;
  background: #f3f4f6;
  margin: 6px 8px;
}
.main-site-link {
  margin-left: 15px;
}
.breadcrumb-nav {
  padding: 8px 15px !important;
}
.site-footer {
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.site-footer .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
}
footer.site-footer .contact {
  width: 358px;
}
@media (max-width: 768px) {
  .anzeigenmarkt-header .header-inner {
    padding: 10px 16px;
    gap: 12px;
  }
  .header-center-nav {
    display: none;
  }
  .am-top-strip {
    padding: 9px 0;
  }
  .am-top-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .am-top-strip-title {
    font-size: 14px;
  }
  .am-top-strip-count {
    height: 24px;
    padding: 0 10px;
    font-size: 12px;
  }
  .header-lkw-btn {
    display: none;
  }
  .header-divider {
    display: none;
  }
  .main-nav {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-nav .nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }
  .user-greeting {
    padding: 4px 6px;
    gap: 8px;
  }
  .user-greeting-icon {
    font-size: 24px;
  }
  .user-greeting-label {
    font-size: 13px;
  }
  .user-greeting-sub {
    display: none;
  }
  .header-auth-login,
  .header-auth-register {
    font-size: 13px;
    padding: 6px 12px;
  }
  .header-right-actions {
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .anzeigenmarkt-header .header-inner {
    padding: 8px 12px;
  }
  .user-greeting-text {
    display: none;
  }
  .user-greeting-chevron {
    display: none;
  }
  .user-greeting {
    padding: 4px;
    gap: 0;
  }
  .user-greeting-icon {
    width: 26px;
    height: 26px;
  }
  .header-auth-login,
  .header-auth-register {
    font-size: 12px;
    padding: 6px 10px;
  }
  .header-right-actions {
    gap: 6px;
  }
  .header-bell-btn {
    padding: 4px;
  }
}
.am-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
#am-search.am-card {
  padding: 16px;
}
.am-btn:not(.am-btn-social) {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
}
.am-btn:not(.am-btn-social):hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(22, 101, 52, 0.2);
  text-decoration: none;
  color: white;
}
.am-btn:not(.am-btn-social):active {
  background: var(--brand-700);
  border-color: var(--brand-700);
  transform: translateY(0);
}
.form-control,
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=search],
select,
textarea {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  background: var(--card);
  color: var(--text);
  transition: all 0.2s ease;
}
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.25);
}
#am-search {
  position: relative;
  z-index: 5;
}
.split-container {
  display: block;
}
@media (min-width: 992px) {
  .split-container.split-mode-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
}
.split-container.split-mode-list #map-container {
  display: none;
}
.split-container.split-mode-map .listings-grid,
.split-container.split-mode-map nav[aria-label=Seitennavigation] {
  display: none;
}
.am-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.am-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}
.am-chip button {
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
}
.am-chip button:hover {
  color: #111827;
}
.results-header {
  margin: 24px 0 20px 0;
  padding: 14px 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.results-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.results-header-icon {
  background: var(--brand);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.results-header-count {
  font-weight: 700;
  color: #1f2937;
  font-size: 15px;
}
.view-toggle {
  display: flex;
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  gap: 2px;
}
.view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.view-toggle-btn:hover {
  color: #111827;
}
.view-toggle-btn i {
  font-size: 13px;
}
.view-toggle-btn.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 3px rgba(45, 95, 65, 0.3);
}
@media (max-width: 768px) {
  .results-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .view-toggle {
    width: 100%;
  }
  .view-toggle-btn {
    flex: 1;
    justify-content: center;
  }
}
.am-card a.am-btn[href*="/images/"][href*="/primary"],
.am-card a.am-btn[href*="/images/"][href*="/delete"] {
  display: none !important;
}
.category-filter {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.category-aside {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}
.field label {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}
.sub-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}
.sub-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sub-link {
  background: white;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #ddd;
  font-size: 13px;
  transition: all 0.2s;
}
.sub-link:hover {
  background: var(--brand);
  color: white;
  text-decoration: none;
}
.breadcrumbs {
  background: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.breadcrumbs ol::-webkit-scrollbar {
  height: 4px;
}
.breadcrumbs ol::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}
.breadcrumbs li {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}
.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
  display: inline-block;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumb-nav {
  background:
    linear-gradient(
      180deg,
      rgba(247, 249, 250, 0.97) 0%,
      rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 0 !important;
  position: relative;
}
.breadcrumb-nav::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--brand),
      transparent);
  opacity: 0.3;
}
.breadcrumb-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.breadcrumb-nav .breadcrumb {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  list-style: none;
}
.breadcrumb-nav .breadcrumb-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}
.breadcrumb-nav .breadcrumb-item a {
  color: var(--brand);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}
.breadcrumb-nav .breadcrumb-item a:hover {
  color: var(--brand-600);
  background: rgba(45, 95, 65, 0.08);
  text-decoration: none;
}
.breadcrumb-nav .breadcrumb-item.active {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
}
.breadcrumb-nav .breadcrumb-item.active span {
  color: inherit;
}
@media (max-width: 768px) {
  .search-form-grid-minimal {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .search-input-main,
  #am-category-select,
  #am-subcategory-select,
  .am-search-btn-primary {
    width: 100%;
    height: 44px !important;
  }
  .quick-filters-minimal {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .quick-filters-minimal .form-control-sm {
    max-width: 100%;
    width: 100%;
  }
  .search-filters-grid-extended {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .filter-actions-minimal {
    flex-direction: column;
    gap: 10px;
  }
  .filter-actions-minimal .am-btn-link-minimal {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .anzeigenmarkt-hero h1 {
    font-size: 2rem;
  }
  .anzeigenmarkt-hero p {
    font-size: 1rem;
  }
  .category-aside {
    flex-direction: column;
    align-items: stretch;
  }
  .field {
    min-width: auto;
  }
  .sub-bar-inner {
    flex-direction: column;
    gap: 8px;
  }
  .listings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .chip {
    margin: 4px 0;
    display: block;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .am-card {
    padding: 16px;
    border-radius: 8px;
  }
  .category-filter {
    padding: 16px;
    border-radius: 8px;
  }
  .anzeigenmarkt-hero {
    padding: 40px 0 30px;
    min-height: 300px;
  }
  .anzeigenmarkt-hero h1 {
    font-size: 1.75rem;
  }
  .hero-video {
    display: block;
  }
  @media (max-width: 480px) and (max-device-width: 768px) {
    .hero-video {
      display: none;
    }
    .anzeigenmarkt-hero {
      background:
        linear-gradient(
          135deg,
          var(--brand) 0%,
          var(--brand-600) 50%,
          var(--brand-700) 100%);
    }
    .hero-overlay {
      display: none;
    }
  }
}
.search-card-minimalist {
  padding: 20px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  border-radius: 8px !important;
}
.search-form-grid-minimal {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}
.search-input-main {
  font-size: 16px !important;
  height: 48px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 6px !important;
  padding: 0 16px !important;
  font-weight: 500;
}
.search-input-main:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.1) !important;
}
#am-category-select {
  height: 48px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 6px !important;
  font-weight: 500;
  font-size: 15px !important;
}
#am-category-select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.1) !important;
}
.am-search-btn-primary {
  white-space: nowrap;
  min-width: 140px;
  height: 48px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(45, 95, 65, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px !important;
}
.am-search-btn-primary:hover {
  box-shadow: 0 4px 10px rgba(45, 95, 65, 0.35);
  transform: translateY(-1px);
}
.am-search-btn-primary i {
  font-size: 14px;
}
.quick-filters-minimal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}
.quick-filters-minimal .form-control-sm {
  max-width: 180px;
  height: 36px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  padding: 0 12px !important;
}
.quick-filters-minimal .form-control-sm:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 2px rgba(110, 201, 133, 0.1) !important;
}
.am-btn-link-minimal {
  background: transparent;
  border: none;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.am-btn-link-minimal:hover {
  color: var(--brand-600);
  text-decoration: underline;
  background: rgba(110, 201, 133, 0.05);
  border-radius: 4px;
}
.am-btn-link-minimal i {
  font-size: 13px;
}
.search-filters-grid-extended {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.checkbox-label-minimal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  padding: 8px 0;
}
.checkbox-label-minimal input[type=checkbox] {
  margin: 0;
}
.filter-actions-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
#am-search .form-control {
  height: 48px;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
  font-size: 15px;
}
#am-search .form-control:hover {
  border-color: #9ca3af;
}
#am-search .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.15);
}
.search-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.search-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
input[type=checkbox],
input[type=radio] {
  accent-color: var(--brand);
  margin-right: 8px;
  transform: scale(1.1);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}
.filter-fields {
  margin-top: 24px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}
.filter-actions .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.filter-actions .btn.primary {
  background: var(--brand);
  color: white;
  border: 1px solid var(--brand);
}
.filter-actions .btn.primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-1px);
}
.filter-actions .btn:not(.primary) {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
}
.filter-actions .btn:not(.primary):hover {
  background: var(--bg);
  border-color: var(--brand);
}
.chip {
  display: inline-block;
  background: var(--card);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin: 4px 8px 4px 0;
  transition: all 0.2s ease;
}
.chip:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(45, 95, 65, 0.2);
}
.chip.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 1400px) {
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .listings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.listing-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  padding: 0;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ring);
}
.listing-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #f5f5f5 0%,
      #e8e8e8 100%);
  position: relative;
}
.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.listing-card:hover .listing-card-image img {
  transform: scale(1.05);
}
.listing-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}
.listing-card-title {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 0;
  line-height: 1.4;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.3px;
}
.listing-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.listing-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.listing-card-title a:hover {
  color: var(--brand);
}
.listing-card-meta {
  color: #666666;
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
}
.listing-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.listing-card-meta i {
  font-size: 12px;
  color: #999;
}
.listing-card-price {
  color: #1f2937;
  font-weight: 800;
  font-size: 24px;
  margin: 8px 0;
  letter-spacing: -0.5px;
  display: block;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.listing-card-price small {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #9ca3af !important;
}
.listing-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.sale-btn {
  margin-top: auto;
  padding-top: 0;
}
.sale-btn a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--brand);
  border-radius: 0;
  padding: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: none;
  letter-spacing: 0;
}
.sale-btn a:hover {
  background: transparent;
  color: var(--brand-600);
  transform: none;
  box-shadow: none;
  text-decoration: none;
}
.sale-btn a i {
  transition: transform 0.2s ease;
  font-size: 13px;
}
.sale-btn a:hover i {
  transform: translateX(4px);
}
.am-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  color: #aaa;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.am-fav:hover {
  background: white;
  color: #e74c3c;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.am-fav.active {
  color: #e74c3c;
  background: white;
}
.am-fav.active:hover {
  transform: scale(1.15);
}
.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 10;
}
.listing-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      #f5f5f5 0%,
      #e8e8e8 100%);
  color: #aaa;
}
.listing-image-placeholder i,
.listing-image-placeholder svg {
  font-size: 48px;
  opacity: 0.5;
}
.meta-separator {
  color: #d0d0d0;
  font-weight: 400;
}
.listing-card-location {
  color: #888;
  font-size: 13px;
  margin: 4px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.listing-card-location i {
  color: #aaa;
  font-size: 12px;
}
.listing-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.listing-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f9fafb;
  color: #4b5563;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #f3f4f6;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.listing-pill i {
  font-size: 11px;
  color: #6b7280;
}
.listing-pill.pill-highlight {
  background: rgba(110, 201, 133, 0.15);
  color: var(--brand);
}
.listing-pill.pill-highlight i {
  color: var(--brand);
}
.listing-category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: auto;
  max-width: calc(100% - 24px);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
  z-index: 8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-category-badge-below-status {
  top: 44px;
  bottom: auto;
}
.am-category-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}
.listing-verified-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--success);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  z-index: 10;
}
.listing-verified-badge i {
  font-size: 10px;
}
.compact-filters-view {
  transition: all 0.3s ease;
}
.compact-filters-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.form-control-sm {
  padding: 6px 10px !important;
  font-size: 14px !important;
  height: auto !important;
  min-height: 36px;
}
.am-btn-sm {
  padding: 6px 14px !important;
  font-size: 14px !important;
  height: auto !important;
  min-height: 36px;
}
.compact-filters-inline select.form-control-sm {
  flex: 0 1 auto;
  min-width: 140px;
  max-width: 200px;
}
.compact-filters-inline input.form-control-sm {
  flex: 0 1 auto;
  min-width: 120px;
}
.compact-filters-inline button {
  flex: 0 0 auto;
}
.detailed-filters-view {
  transition: all 0.3s ease;
  margin-top: 16px;
}
#compact-filters,
#detailed-filters {
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .compact-filters-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .compact-filters-inline select.form-control-sm,
  .compact-filters-inline input.form-control-sm {
    max-width: 100%;
    width: 100%;
  }
}
.am-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}
@media (min-width: 992px) {
  .am-filter-bar {
    position: sticky;
    top: 78px;
    z-index: 35;
  }
}
.am-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.am-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.am-filter-pill i {
  font-size: 12px;
  color: var(--brand);
}
.am-filter-pill:hover {
  border-color: var(--brand);
  background: rgba(45, 95, 65, 0.05);
  transform: translateY(-1px);
}
.am-filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.am-filter-pill.active i {
  color: white;
}
.am-pill-remove {
  background: none;
  border: none;
  color: currentColor;
  opacity: 0.6;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: all 0.15s;
}
.am-pill-remove:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}
.am-filter-pill.active .am-pill-remove:hover {
  background: rgba(255, 255, 255, 0.2);
}
.am-sort-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.am-sort-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.am-sort-select {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  min-width: 180px;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.am-sort-select:hover {
  border-color: var(--brand);
}
.am-sort-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.15);
}
.am-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.am-btn-outline i {
  font-size: 14px;
  color: var(--brand);
}
.am-btn-outline:hover {
  border-color: var(--brand);
  background: rgba(45, 95, 65, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.am-btn-outline:active {
  transform: translateY(0);
}
.am-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  margin-left: 4px;
}
.am-filters-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.am-filters-overlay.show {
  display: flex;
  opacity: 1;
}
.am-filters-sidebar {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}
.am-filters-overlay.show .am-filters-sidebar {
  transform: translateX(0);
}
.am-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--card-border);
  background:
    linear-gradient(
      180deg,
      rgba(247, 249, 250, 0.5),
      white);
}
.am-filters-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-filters-header h3 i {
  color: var(--brand);
}
.am-filters-close {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.am-filters-close:hover {
  background: var(--bg);
  color: var(--text);
}
#am-filters-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.am-filters-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.am-filter-section {
  margin-bottom: 28px;
}
.am-filter-section:last-child {
  margin-bottom: 0;
}
.am-filter-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}
.am-filter-section h4 i {
  color: var(--brand);
  font-size: 15px;
}
.am-filter-range {
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-filter-range span {
  color: var(--muted);
  font-weight: 500;
}
.am-input-sm {
  padding: 10px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  width: 100%;
  transition: all 0.2s;
}
.am-input-sm:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.1);
}
.am-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.am-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.am-filter-checkbox:hover {
  background: rgba(45, 95, 65, 0.05);
  border-color: var(--card-border);
}
.am-filter-checkbox input[type=checkbox],
.am-filter-checkbox input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}
.am-filter-checkbox span {
  font-size: 14px;
  color: var(--text);
}
.am-filters-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--card-border);
  background:
    linear-gradient(
      0deg,
      rgba(247, 249, 250, 0.5),
      white);
}
.am-filters-footer .am-btn {
  flex: 1;
  justify-content: center;
}
.am-filters-footer .am-btn-outline {
  background: white;
  color: var(--text);
}
.am-filters-footer .am-btn-primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.am-filters-footer .am-btn-primary:hover {
  background: var(--brand-600);
}
@media (max-width: 768px) {
  .am-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .am-filter-pills {
    order: 2;
  }
  .am-sort-container {
    order: 1;
    width: 100%;
  }
  .am-sort-select {
    flex: 1;
    width: 100%;
  }
  .am-btn-outline {
    width: 100%;
    justify-content: center;
    order: 3;
  }
  .am-filters-sidebar {
    max-width: 100%;
  }
}
.am-filter-wrapper {
  position: relative;
  display: inline-block;
}
.am-filter-pill-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.am-filter-pill-dropdown:hover,
.am-filter-pill-dropdown.open {
  border-color: var(--brand);
  background: rgba(45, 95, 65, 0.05);
}
.am-filter-pill-dropdown.has-value {
  background: #e6f4ea;
  border-color: var(--brand);
  color: var(--brand);
}
.am-filter-pill-dropdown .fa-angle-down {
  transition: transform 0.2s;
  font-size: 10px;
  opacity: 0.6;
}
.am-filter-pill-dropdown.open .fa-angle-down {
  transform: rotate(180deg);
}
.am-filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: white;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 16px;
  min-width: 280px;
  max-width: 360px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 1001;
  animation: dropdownFadeIn 0.2s ease-out;
}
.am-filter-dropdown.show {
  display: block;
}
.am-filter-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.am-dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.am-dropdown-title i {
  color: var(--brand);
}
.am-dropdown-range {
  display: flex;
  gap: 8px;
  align-items: center;
}
.am-dropdown-range input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}
.am-dropdown-range input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.1);
}
.am-dropdown-range span {
  color: var(--muted);
  font-weight: 500;
}
.am-dropdown-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.am-dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.am-dropdown-option:hover {
  background: var(--bg);
}
.am-dropdown-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
}
.am-dropdown-option label {
  flex: 1;
  cursor: pointer;
  font-size: 14px;
  margin: 0;
  color: var(--text);
}
.am-active-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.am-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--brand);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.am-active-pill .am-pill-close {
  background: none;
  border: none;
  color: white;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  margin-left: 2px;
}
.am-active-pill .am-pill-close:hover {
  opacity: 1;
}
.am-filter-dropdowns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.am-filter-pills-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}
.am-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.am-dynamic-filters {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--card-border);
}
.am-dynamic-filters-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.am-dynamic-filters-accordion {
  margin-bottom: 16px;
}
.am-dynamic-filters-title.am-accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--brand, #2d5f41);
  padding: 0 0 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand, #2d5f41);
  margin: 0 0 16px 0;
  gap: 8px;
}
.am-dynamic-filters-title.am-accordion-toggle:hover {
  opacity: 0.8;
}
.am-dynamic-filters-title.am-accordion-toggle .am-accordion-chevron {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: #4b5563;
}
.am-dynamic-filters-accordion.is-collapsed .am-accordion-chevron {
  transform: rotate(-90deg);
}
.am-dynamic-filters-accordion.is-collapsed .am-dynamic-filters-body {
  display: none;
}
.am-dynamic-filters .am-filter-section h4 {
  justify-content: space-between;
  cursor: pointer;
}
.am-dynamic-filters .am-filter-section h4::after {
  content: "\f078";
  font-family: FontAwesome;
  font-size: 12px;
  color: #4b5563;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.am-dynamic-filters .am-filter-section.is-collapsed h4::after {
  transform: rotate(-90deg);
}
.am-dynamic-filters .am-filter-section.is-collapsed > :not(h4) {
  display: none !important;
}
.am-filter-dropdowns .am-filter-group-label {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand, #2d5f41);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 10px 0 4px 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .am-filter-dropdowns {
    display: none;
  }
  .am-filter-pills-container {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .am-filter-dropdown {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    max-height: 60vh;
    border-radius: 16px;
  }
  .am-filter-dropdown::before {
    display: none;
  }
}
#map {
  position: relative;
  z-index: 1;
  background: #e9e5dc !important;
}
#map.leaflet-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
  background-color: #e9e5dc !important;
  -webkit-tap-highlight-color: transparent !important;
}
#map .am-price-marker-wrap {
  background: transparent !important;
  border: 0 !important;
}
#map .map-price-marker {
  position: relative;
  background: var(--brand);
  color: #ffffff;
  border: 2px solid var(--brand-700);
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 37px;
  cursor: pointer;
}
#map .map-price-marker:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--brand);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}
#map .leaflet-popup {
  margin-bottom: 20px !important;
}
.am-map-popup .leaflet-popup-content-wrapper {
  position: relative !important;
  z-index: 1 !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
  padding: 10px !important;
}
.am-map-popup .leaflet-popup-content-wrapper:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background:
    linear-gradient(
      90deg,
      var(--brand, #2d5f41),
      var(--brand-600, #1e4029)) !important;
  border-radius: 8px 8px 0 0 !important;
}
.am-map-popup .leaflet-popup-content {
  margin: 16px !important;
  min-width: 220px;
  line-height: 1.45;
  font-size: 14px !important;
  color: #202124 !important;
}
#map .leaflet-popup-tip-container {
  opacity: 0 !important;
  pointer-events: none !important;
}
#map .leaflet-popup-tip {
  display: none !important;
}
#map .leaflet-popup-close-button {
  color: #5f6368 !important;
  font-size: 20px !important;
  padding: 8px 12px !important;
}
#map .leaflet-popup-close-button:hover {
  color: #202124 !important;
  background: transparent !important;
}
#map a.leaflet-popup-close-button {
  text-decoration: none !important;
}
.am-map-popup-card {
  font-size: 14px;
  color: #1f2937;
}
.am-map-popup-title {
  display: inline-block;
  color: #202124;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 4px;
}
.am-map-popup-title:hover {
  text-decoration: underline;
}
.am-map-popup-price {
  font-weight: 700;
  color: #14532d;
  margin-bottom: 2px;
}
.am-map-popup-meta,
.am-map-popup-location {
  color: #4b5563;
  font-size: 12px;
}
#map .leaflet-control-zoom {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
#map .leaflet-control {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  border: none !important;
}
#map .leaflet-control-attribution a[href*="leafletjs.com"],
#map .leaflet-control-attribution svg,
#map .leaflet-control-attribution .leaflet-attribution-flag {
  display: none !important;
}
@media (max-width: 991px) {
  #map .leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  .am-map-popup .leaflet-popup-content {
    margin: 12px !important;
    font-size: 13px !important;
  }
}
.am-admin-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.am-admin-dashboard .am-admin-header {
  margin-bottom: 32px;
}
.am-admin-dashboard .am-admin-header h1 {
  margin: 0 0 4px 0;
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.am-admin-dashboard .am-admin-header h1 i {
  color: var(--brand);
}
.am-admin-dashboard .am-admin-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.am-admin-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.am-admin-section h2 {
  font-size: 18px;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.am-admin-section h2 i {
  color: var(--brand);
  font-size: 16px;
}
.am-admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.am-admin-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.am-admin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.am-admin-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.am-icon-primary {
  background: rgba(45, 95, 65, 0.1);
  color: var(--brand);
}
.am-icon-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}
.am-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}
.am-icon-info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}
.am-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}
.am-admin-card-content h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
}
.am-admin-card-content p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.am-admin-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}
.am-admin-page .am-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.am-admin-page .am-admin-header h1 {
  margin: 0 0 4px 0;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.am-admin-page .am-admin-header h1 i {
  color: var(--brand);
}
.am-admin-page .am-admin-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.am-admin-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.am-admin-filter {
  margin-bottom: 20px;
}
.am-filter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}
.am-admin-table-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}
.am-admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.am-admin-table th,
.am-admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.am-admin-table th {
  background: var(--bg);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.am-admin-table tbody tr:hover {
  background: rgba(45, 95, 65, 0.02);
}
.am-admin-table code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
}
.am-admin-empty {
  text-align: center;
  padding: 40px !important;
  color: var(--muted);
}
.am-admin-actions {
  display: flex;
  gap: 6px;
}
.am-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.am-btn-icon:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.am-btn-danger {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
}
.am-btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
.am-btn-icon.am-btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}
.am-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
}
.am-badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}
.am-badge-muted {
  background: var(--bg);
  color: var(--muted);
}
.am-badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}
.am-badge-type {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}
.am-tag {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(45, 95, 65, 0.08);
  color: var(--brand);
  border-radius: 4px;
  margin: 1px 2px;
  font-size: 10px;
  font-weight: 500;
}
.am-admin-form-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.am-admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.am-form-section {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 20px;
}
.am-form-section:last-of-type {
  border-bottom: none;
}
.am-form-section h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
}
.am-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.am-form-grid.am-checkboxes {
  grid-template-columns: repeat(3, 1fr);
}
.am-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.am-form-group.am-full-width {
  grid-column: 1 / -1;
}
.am-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.am-input,
.am-textarea,
.am-select {
  padding: 10px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  background: white;
}
.am-input:focus,
.am-textarea:focus,
.am-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110, 201, 133, 0.15);
}
.am-form-help {
  font-size: 12px;
  color: var(--muted);
}
.am-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.am-checkbox-label:hover {
  background: rgba(45, 95, 65, 0.05);
}
.am-checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.am-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}
@media (max-width: 768px) {
  .am-admin-page {
    padding: 16px;
  }
  .am-admin-page .am-admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .am-form-grid {
    grid-template-columns: 1fr;
  }
  .am-form-grid.am-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .am-admin-table {
    min-width: 600px;
  }
}
.listing-card-sponsored {
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}
.listing-card-sponsored:hover {
  border-color: #f59e0b;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}
.listing-sponsored-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background:
    linear-gradient(
      135deg,
      #fbbf24 0%,
      #f59e0b 100%);
  color: #78350f;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}
.listing-sponsored-badge i {
  font-size: 11px;
}
.listing-verified-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.listing-verified-badge i {
  font-size: 11px;
}
.am-forgot-password {
  text-align: right;
  margin: -10px 0 16px 0;
}
.am-forgot-password a {
  color: var(--brand);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.am-forgot-password a:hover {
  color: #1a4a2e;
  text-decoration: underline;
}
.am-form-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.am-field-error {
  display: block;
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .admin-listings-header,
  .admin-table-card,
  .am-card {
    padding: 12px !important;
  }
  .admin-listings-header {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .admin-listings-header h1 {
    font-size: 18px !important;
  }
  .admin-listings-header h1 .icon-box {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  .am-card .table,
  .am-card table.table,
  .admin-table-card table,
  .admin-listings-table,
  table.am-listings-table,
  table.am-users-table,
  table.am-attributes-table,
  table.am-subcategories-table,
  table.am-categories-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    max-width: 100%;
  }
  .am-card .table thead,
  .am-card .table tbody,
  .am-card .table tr {
    display: table;
    width: 100%;
    table-layout: auto;
    min-width: 600px;
  }
  .am-page-header,
  .admin-page-header,
  .ai-stats-header,
  .ai-settings-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  .am-page-header h1,
  .admin-page-header h1 {
    font-size: 18px !important;
    flex: 1 1 100%;
  }
  .am-back-btn,
  .am-btn-back,
  a[href*="/anzeigenmarkt/admin"]:has(> .fa-arrow-left),
  .ai-stats-header .am-btn,
  .ai-settings-header .am-btn {
    flex-shrink: 0;
    min-width: auto !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
  }
  .admin-filter-tabs,
  .admin-tabs,
  .am-filter-tabs,
  .am-status-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    padding-bottom: 4px;
  }
  .admin-filter-tabs > a,
  .admin-tabs > a,
  .am-filter-tabs > a,
  .am-status-tabs > a {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .admin-stats-bar,
  .am-kpi-grid,
  .am-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  #form-editor-app,
  .form-editor-layout,
  .form-editor-canvas,
  .form-editor-sidebar,
  .form-editor-explorer {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .form-editor-layout {
    flex-direction: column !important;
    display: flex !important;
  }
  .am-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .am-form-group input,
  .am-form-group select,
  .am-form-group textarea {
    font-size: 16px !important;
  }
  .api-clients-table,
  .api-tokens-table {
    font-size: 12px !important;
  }
  .api-clients-table td,
  .api-tokens-table td {
    padding: 8px 6px !important;
  }
  .admin-pagination,
  .am-pagination {
    flex-wrap: wrap !important;
    gap: 4px !important;
    justify-content: center !important;
  }
  .am-table-actions .am-btn,
  .table-actions .am-btn,
  .admin-action-btn {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }
  body {
    overflow-x: hidden;
  }
}
.am-auth-container.am-auth-v2 {
  background: none;
  min-height: 0;
}
main:has(.am-auth-v2) + footer.site-footer {
  margin-top: 0;
}
.am-auth-v2 .am-auth-form-panel {
  background: none;
  padding: 56px 40px;
}
.am-auth-v2 .am-form-card {
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  padding: 40px 36px 32px;
  border-radius: 20px;
  border: 1px solid rgba(15, 33, 21, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 48px -24px rgba(15, 33, 21, 0.18),
    0 8px 16px -12px rgba(15, 33, 21, 0.08);
  position: relative;
}
.am-auth-v2 .am-form-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin: 0 auto 20px;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      var(--brand-light) 100%);
  box-shadow: 0 12px 24px -10px rgba(45, 95, 65, 0.42), 0 0 0 6px rgba(110, 201, 133, 0.10);
}
.am-auth-v2 .am-form-icon i {
  font-size: 24px;
}
.am-auth-v2 .am-form-card h1 {
  font-size: 26px;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
}
.am-auth-v2 .am-form-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.am-auth-v2 .am-form-group {
  margin-bottom: 16px;
}
.am-auth-v2 .am-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.am-auth-v2 .am-input {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid #e6e9ee;
  background: #fbfcfd;
  font-size: 15px;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}
.am-auth-v2 .am-password-field {
  position: relative;
}
.am-auth-v2 .am-password-field .am-input {
  padding-right: 48px;
}
.am-auth-v2 .am-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.am-auth-v2 .am-password-toggle:hover,
.am-auth-v2 .am-password-toggle:focus {
  background: #eef3f0;
  color: var(--brand);
  outline: none;
}
.am-auth-v2 .am-password-toggle i {
  font-size: 16px;
}
.am-auth-v2 .am-input:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 95, 65, 0.10);
}
.am-auth-v2 .am-forgot-password {
  margin: -4px 0 18px;
}
.am-auth-v2 .am-forgot-password a {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.am-auth-v2 .am-btn-full {
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  background:
    linear-gradient(
      135deg,
      var(--brand) 0%,
      var(--brand-600) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(45, 95, 65, 0.55), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition:
    transform .15s ease,
    box-shadow .2s ease,
    filter .2s ease;
  cursor: pointer;
}
.am-auth-v2 .am-btn-full:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 26px -10px rgba(45, 95, 65, 0.6), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.am-auth-v2 .am-btn-full:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
.am-auth-v2 .am-social-divider {
  margin: 24px 0;
}
.am-auth-v2 .am-social-divider span {
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #94a3b8;
}
.am-auth-v2 .am-social-divider::before,
.am-auth-v2 .am-social-divider::after {
  border-bottom-color: #eef0f3;
}
.am-auth-v2 .am-social-login .am-btn.am-btn-social {
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  border-width: 1.5px;
  transition:
    transform .15s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
}
.am-auth-v2 .am-social-login .am-btn.am-btn-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -8px rgba(15, 33, 21, 0.18);
}
.am-auth-v2 .am-divider {
  margin: 24px 0;
  border-top-color: #eef0f3;
}
.am-auth-v2 .am-form-footer p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.am-auth-v2 .am-auth-link {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: #f1f6f3;
  color: var(--brand-600);
  transition:
    background .15s ease,
    color .15s ease,
    transform .15s ease;
}
.am-auth-v2 .am-auth-link:hover {
  background: #e1ede6;
  color: var(--brand-700);
  text-decoration: none;
  transform: translateY(-1px);
}
.am-auth-v2 .am-form-description {
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
}
.am-auth-v2 .am-alert {
  border-radius: 12px;
}
.am-auth-v2.am-auth-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}
.am-auth-v2.am-auth-centered .am-form-card {
  margin: 0 auto;
}
@media (max-width: 991px) {
  .am-auth-v2 .am-auth-form-panel {
    padding: 24px 16px;
  }
  .am-auth-v2.am-auth-centered {
    padding: 24px 14px;
  }
}
/*# sourceMappingURL=am-styles-5VTJMKY7.css.map */
