/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #f9fafb;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
}

a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ea580c;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #f97316;
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #f97316;
    border: 1px solid #f97316;
}

.btn-outline:hover {
    background: #f97316;
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
}

/* Checkboxes and Radio */
.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox input[type="checkbox"]:checked + .checkmark {
    background: #f97316;
    border-color: #f97316;
}

.checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fed7aa;
}

.alert-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* Header Styles */
.main-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo-link {
    text-decoration: none;
}

.logo h1 {
    color: #f97316;
    font-size: 28px;
    margin: 0;
}

.tagline {
    color: #6b7280;
    font-size: 12px;
    font-style: italic;
    margin: 0;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-container {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
}

.location-filter {
    border: none;
    border-left: 1px solid #d1d5db;
    padding: 12px 16px;
    font-size: 14px;
    background: #f9fafb;
    min-width: 120px;
}

.search-btn {
    background: #f97316;
    border: none;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-btn:hover {
    background: #ea580c;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #6b7280;
    transition: all 0.2s ease;
}

.header-icon-btn:hover {
    background: #f3f4f6;
    color: #f97316;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* User Menu */
.user-dropdown {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.user-avatar-btn:hover {
    background: #f3f4f6;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-name {
    font-weight: 500;
    color: #374151;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    display: none;
    z-index: 1000;
}

.user-menu-dropdown.active {
    display: block;
}

.user-info {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.user-display-name {
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.user-email {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

.user-menu-items {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.user-menu-items li {
    margin: 0;
}

.user-menu-items a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s ease;
}

.user-menu-items a:hover {
    background: #f3f4f6;
    color: #f97316;
}

.menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

.user-menu-footer {
    padding: 8px;
    border-top: 1px solid #e5e7eb;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #dc2626;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
    width: 100%;
}

.logout-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #374151;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-search {
    display: none;
    padding: 15px 0;
    border-top: 1px solid #e5e7eb;
}

/* Language Banner */
.language-banner {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
}

.language-welcome p {
    margin: 0;
    line-height: 1.4;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    display: block;
    color: #fbbf24;
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto 50px;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-search .search-input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    font-size: 16px;
    color: #374151;
}

.hero-search .location-select {
    border: none;
    border-left: 1px solid #e5e7eb;
    padding: 18px 20px;
    font-size: 16px;
    background: #f9fafb;
    color: #374151;
    min-width: 180px;
}

.hero-search .search-btn {
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Products Section */
.products-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left h2 {
    color: #374151;
    margin: 0 0 5px 0;
    font-size: 24px;
}

.products-count {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

#sort-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.view-toggle {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    background: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.view-btn.active {
    background: #f97316;
    color: white;
}

.view-btn:hover:not(.active) {
    background: #f3f4f6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.products-grid.products-list {
    grid-template-columns: 1fr;
}

.products-list .product-card {
    display: flex;
    gap: 20px;
}

.products-list .product-image-container {
    flex-shrink: 0;
    width: 150px;
    height: 120px;
}

.products-list .product-info {
    flex: 1;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #f97316;
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f9fafb;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 48px;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
}

.condition-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.condition-new {
    background: #10b981;
}

.condition-used {
    background: #f59e0b;
}

.condition-refurbished {
    background: #3b82f6;
}

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #f97316;
    margin: 0 0 12px 0;
}

.product-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 8px;
}

.product-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 12px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

/* No Products State */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-products-icon {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    color: #374151;
    margin-bottom: 10px;
}

.no-products p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Load More */
.load-more-section {
    text-align: center;
    padding: 40px 0;
}

/* Mobile FAB */
.mobile-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #f97316;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
    font-size: 20px;
}

.fab-btn:hover {
    background: #ea580c;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.4);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
}

.register-card {
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo h1 {
    font-size: 32px;
    margin-bottom: 5px;
}

.auth-header .logo p {
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

.auth-form h2 {
    font-size: 28px;
    color: #374151;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 14px;
    color: #f97316;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.social-login {
    margin-top: 30px;
}

.divider {
    text-align: center;
    position: relative;
    margin: 30px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    justify-content: center;
    padding: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
}

.btn-google:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

.btn-facebook:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.auth-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-content h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.info-content ul {
    list-style: none;
    margin-bottom: 40px;
}

.info-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fbbf24;
}

.stat p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.regions-covered {
    margin-top: 30px;
}

.regions-covered h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.region-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.region-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.mobile-features {
    margin-top: 30px;
}

.mobile-features h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.mobile-features ul {
    list-style: none;
}

.mobile-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

/* Post Ad Styles */
.post-ad-container {
    background: #f9fafb;
    min-height: 100vh;
    padding: 30px 0;
}

.post-ad-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-ad-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-ad-header h1 {
    font-size: 36px;
    color: #374151;
    margin-bottom: 10px;
}

.post-ad-header p {
    color: #6b7280;
    font-size: 18px;
    margin: 0;
}

.post-ad-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 20px;
    margin-bottom: 25px;
}

.form-section h3 i {
    color: #f97316;
}

.pricing-tips,
.photo-tips {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.pricing-tips h4,
.photo-tips h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 16px;
    margin-bottom: 15px;
}

.pricing-tips i,
.photo-tips i {
    color: #f59e0b;
}

.pricing-tips ul,
.photo-tips ul {
    list-style: none;
    margin: 0;
}

.pricing-tips li,
.photo-tips li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #6b7280;
    padding-left: 20px;
    position: relative;
}

.pricing-tips li::before,
.photo-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #f97316;
}

.location-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px 16px;
    color: #1e40af;
    font-size: 14px;
    margin-top: 15px;
}

/* Image Upload */
.image-upload-container {
    position: relative;
}

.image-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.image-upload-area:hover,
.image-upload-area.dragover {
    border-color: #f97316;
    background: #fff7ed;
}

.upload-content i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.upload-content h4 {
    color: #374151;
    margin-bottom: 10px;
}

.upload-content p {
    color: #6b7280;
    margin-bottom: 10px;
}

.upload-content small {
    color: #9ca3af;
    font-size: 12px;
}

.image-upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.image-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
}

.image-preview img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Preferences */
.current-contact {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.current-contact h4 {
    color: #374151;
    margin-bottom: 15px;
}

.current-contact p {
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Terms & Submit */
.terms-section {
    background: #fef7f0;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.terms-section .checkbox {
    margin-bottom: 15px;
}

.submit-section {
    text-align: center;
}

.submit-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: #6b7280;
    font-size: 14px;
}

/* Sidebar */
.post-ad-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar-card h3 i {
    color: #f97316;
}

.sidebar-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sidebar-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.sidebar-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}

.sidebar-card li i {
    color: #10b981;
    width: 16px;
}

/* Character Counter */
.character-counter {
    font-size: 12px;
    color: #6b7280;
    text-align: right;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-ad-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-search {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .hero-search .location-select {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        min-width: auto;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-right {
        justify-content: space-between;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .newsletter-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .newsletter-form {
        min-width: auto;
    }
    
    .btn-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .auth-card {
        padding: 40px 20px;
    }
    
    .post-ad-form {
        padding: 20px;
    }
    
    .form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .sidebar-card {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .mobile-fab,
    .filter-sidebar,
    .language-banner {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border: 2px solid #000;
        color: #000;
    }
    
    .product-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e5e7eb;
    }
    
    .main-header {
        background: #2d3748;
        border-bottom: 1px solid #4a5568;
    }
    
    .filter-sidebar,
    .product-card,
    .products-section {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    input,
    select,
    textarea {
        background: #1a202c;
        border-color: #4a5568;
        color: #e5e7eb;
    }
    
    .btn-primary {
        background: #f97316;
    }
    
    .btn-outline {
        border-color: #f97316;
        color: #f97316;
    }
}