/* Reusable components */
/* Reusable Components Stylesheet */

/* Breadcrumb */
.breadcrumb {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Machine Detail Styles */
.machine-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.machine-gallery {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f3f4f6;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.condition-badge-large {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #10b981;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.condition-badge-large.used { background: #f59e0b; }
.condition-badge-large.refurbished { background: #8b5cf6; }
.condition-badge-large.new { background: #10b981; }

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid #2563eb;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.gallery-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Machine Info Panel */
.machine-header {
    margin-bottom: 25px;
}

.machine-header h1 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.machine-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.price-display .price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.price-display .price-type {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
}

.request-price {
    color: #f59e0b !important;
    font-size: 1.5rem !important;
}

.trust-badges-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.trust-badge {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.trust-badge.escrow {
    background: #dbeafe;
    color: #1e40af;
}

.trust-badge.warranty {
    background: #fef3c7;
    color: #92400e;
}

.specs-quick {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.spec-label {
    color: #6b7280;
    font-weight: 500;
}

.spec-value {
    font-weight: 600;
    color: #1f2937;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.action-btn {
    flex: 1;
    padding: 15px;
    font-weight: 600;
}

.seller-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.seller-info h3 {
    margin-bottom: 15px;
    color: #1f2937;
}

.seller-details > div {
    margin-bottom: 8px;
}

.verified-badge {
    background: #dcfce7;
    color: #166534;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
}

.contact-note {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

/* Escrow Process */
.escrow-process {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #7dd3fc;
}

.escrow-process h3 {
    margin-bottom: 15px;
    color: #0c4a6e;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #bae6fd;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #0ea5e9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
}

.step-text {
    font-size: 0.8rem;
    color: #0c4a6e;
}

/* Tabs */
.detail-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s;
}

.tab-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.tab-btn:hover {
    color: #2563eb;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.specs-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.specs-table td:first-child {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    width: 30%;
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    width: 280px;
    background: #1f2937;
    color: white;
    padding: 0;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    display: block;
    padding: 15px 25px;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: #374151;
    color: white;
}

.menu-item.active {
    background: #374151;
    border-left-color: #2563eb;
    color: white;
}

.menu-item.new-listing {
    background: #2563eb;
    color: white;
    margin: 15px 20px;
    border-radius: 8px;
    border: none;
    text-align: center;
    font-weight: 600;
}

.menu-item.new-listing:hover {
    background: #1d4ed8;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background: #f8fafc;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #1f2937;
    font-size: 2rem;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 5px;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 5px;
}

.stat-change {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.stat-change.positive {
    background: #dcfce7;
    color: #166534;
}

.stat-change.negative {
    background: #fecaca;
    color: #991b1b;
}

.stat-change.neutral {
    background: #f3f4f6;
    color: #6b7280;
}

/* Activity List */
.recent-activity {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-content {
    flex: 1;
}

.activity-time {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Tables */
.listings-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.listings-table {
    width: 100%;
    border-collapse: collapse;
}

.listings-table th {
    background: #f8fafc;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.listings-table td {
    padding: 15px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.listing-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.listing-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f4f6;
}

.listing-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.listing-date {
    font-size: 0.8rem;
    color: #6b7280;
}

.action-buttons-table {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.btn-sm:not(.btn-danger) {
    background: #e5e7eb;
    color: #374151;
}

.btn-sm:hover:not(.btn-danger) {
    background: #d1d5db;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* Form Styles */
.listing-form-container {
    min-height: calc(100vh - 80px);
    background: #f8fafc;
    padding: 40px 0;
}

.steps-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.steps-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.steps-indicator .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
}

.steps-indicator .step.completed::after {
    background: #10b981;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.step.active .step-number {
    background: #2563eb;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

.step.active .step-label {
    color: #2563eb;
    font-weight: 600;
}

/* Listing Form */
.listing-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: #1f2937;
    margin-bottom: 8px;
}

.step-description {
    color: #6b7280;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.field-help {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.input-with-unit {
    display: flex;
    gap: 8px;
}

.input-with-unit input {
    flex: 1;
}

.input-with-unit select {
    width: 80px;
}

/* Media Upload */
.media-upload-section {
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.upload-area:hover, .upload-area.drag-over {
    border-color: #2563eb;
    background: #f0f9ff;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #6b7280;
}

.upload-text {
    margin-bottom: 8px;
}

.upload-note {
    font-size: 0.8rem;
    color: #6b7280;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview-item {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.image-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.remove-btn {
    background: #dc2626;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

.main-badge {
    background: #10b981;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.set-main-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
}

/* Features Input */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.feature-item {
    background: #e5e7eb;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.feature-item .remove-btn {
    background: #6b7280;
    width: 20px;
    height: 20px;
    font-size: 12px;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Preview Styles */
.listing-preview {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.preview-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}

.preview-images {
    position: relative;
}

.preview-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.no-image-placeholder {
    background: #f3f4f6;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.preview-content {
    padding: 20px;
}

.preview-content h3 {
    margin-bottom: 8px;
    color: #1f2937;
}

.preview-specs {
    color: #6b7280;
    margin-bottom: 12px;
}

.preview-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.preview-location {
    color: #6b7280;
    margin-bottom: 15px;
}

.preview-features ul {
    margin-left: 20px;
    margin-top: 8px;
}

/* Submission Section */
.submission-notes {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.terms-section {
    margin-bottom: 20px;
}

.submit-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Category Page Styles */
.category-container {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.results-count {
    color: #6b7280;
    font-size: 1.1rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-toggle {
    display: flex;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.view-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.view-btn.active {
    background: #2563eb;
    color: white;
}

.sort-select, .filter-select {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.filters-header h3 {
    color: #1f2937;
}

.clear-filters {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h4 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 6px 0;
}

.filter-checkbox span {
    flex: 1;
    margin-left: 8px;
}

.filter-checkbox small {
    color: #6b7280;
    font-size: 0.8rem;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-inputs {
    display: flex;
    gap: 8px;
}

.price-inputs input {
    flex: 1;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
}

.price-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-presets button {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.price-presets button:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.apply-filters-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.apply-filters-btn:hover {
    background: #1d4ed8;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-tag {
    background: #2563eb;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-tag button:hover {
    background: rgba(255,255,255,0.2);
}

/* Machine List View */
.machines-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.machine-list-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.machine-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.list-image {
    width: 150px;
    height: 120px;
    background: #f3f4f6;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.list-content {
    flex: 1;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.list-header h3 {
    margin: 0;
}

.list-header h3 a {
    color: #1f2937;
    text-decoration: none;
}

.list-header h3 a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.list-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
}

.list-specs {
    color: #6b7280;
    margin-bottom: 8px;
}

.list-location {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-actions {
    display: flex;
    gap: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.page-btn:hover {
    background: #f3f4f6;
    border-color: #2563eb;
}

.page-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.page-dots {
    color: #6b7280;
    padding: 8px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-results h3 {
    margin-bottom: 10px;
    color: #374151;
}

/* Loading Skeletons */
.loading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.skeleton-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-card::before {
    content: '';
    display: block;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 2s infinite;
}

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1f2937;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: toast-slide-in 0.3s ease-out;
}

.toast.toast-success {
    background: #10b981;
}

.toast.toast-error {
    background: #dc2626;
}

.toast button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Auto-save Indicator */
.autosave-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 100;
    animation: fade-in-out 3s ease-in-out;
}

@keyframes fade-in-out {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
}

/* Success Page */
.success-page {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.success-page h2 {
    color: #1f2937;
    margin-bottom: 15px;
}

.success-details {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid #bae6fd;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Error Input Styling */
.error-input {
    border-color: #dc2626 !important;
    background: #fef2f2;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f59e0b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Negotiable Price */
.negotiable {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: normal;
}