/* Import base styles */
@import url('/css/base/variables.css');
@import url('/css/components/layouts.css');
@import url('/css/components/navbar.css');
@import url('/css/components/sidebar.css');
@import url('/css/pages/dashboard/dashboard.css');
@import url('/css/components/notifications.css');

/* Status badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-test-drive { background: #e8eaf6; color: #3f51b5; }
.status-new { background: #e3f2fd; color: #1976d2; }
.status-sold { background: #e8f5e9; color: #388e3c; }
.status-lost { background: #ffebee; color: #d32f2f; }
.status-contacted { background: #fff3e0; color: #f57c00; }
.status-negotiation { background: #fce4ec; color: #c2185b; }
.status-scheduled { background: #e3f2fd; color: #1976d2; }
.status-completed { background: #e8f5e9; color: #388e3c; }
.status-cancelled { background: #ffebee; color: #d32f2f; }

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

/* Utility classes */
.hidden {
    display: none;
}

.error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.success {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.appointment-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.appointment-card:hover {
    transform: translateY(-2px);
}

.vehicle-preview {
    display: flex;
    gap: 1rem;
    background: #f8faff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e5e7eb;
}

.vehicle-thumbnail {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vehicle-info {
    flex: 1;
}

.vehicle-name {
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 0.25rem;
}

.vehicle-specs {
    font-size: 0.875rem;
    color: #6b7280;
}

.appointment-details {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.detail-label {
    color: #6b7280;
    font-weight: 500;
    min-width: 80px;
}
