@import 'report/specifications.css';
@import 'report/vehicle-preview.css';
@import 'report/ai-description.css';
/* Report Page Styles */
.report-page {
    padding: 6rem 0;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
}

.report-header {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.report-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-item,
.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label,
.spec-item label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.info-item span,
.spec-item span {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

.market-info {
    display: grid;
    gap: 2rem;
}

.market-region h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.price-range {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.range-item {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.range-item label {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.range-item span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

/* Theft Check Styles */
.theft-check {
    display: grid;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f1f5f9;
}

.check-item.status-clear {
    background: #ecfdf5;
}

.check-item.status-clear i {
    color: #059669;
}

.check-item.status-warning {
    background: #fef2f2;
}

.check-item.status-warning i {
    color: #dc2626;
}

.check-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.region-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.vincario-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.region {
    font-weight: 600;
    color: #1e293b;
}

.status {
    font-size: 0.875rem;
    color: #64748b;
}


/* Responsive Design */
@media (max-width: 768px) {
    .report-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .info-grid,
    .specs-grid {
        grid-template-columns: 1fr; 
    }

    .price-range {
        grid-template-columns: 1fr;
    }
}

.pdf-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.pdf-loading-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pdf-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}