/* sections/cars/assets/css/style.css */
.car-logo {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    vertical-align: middle;
}

.select2-container--default .select2-selection--single {
    height: 40px;
    border-radius: 8px;
    border-color: #e2e8f0;
}

.mortgage-details {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

#message {
    display: none;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

#message.success {
    background-color: #dcfce7;
    color: #166534;
}

#message.error {
    background-color: #fee2e2;
    color: #991b1b;
}

.error {
    border-color: #ef4444 !important;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Verification Code Input */
.verification-code {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 1rem 0;
}

.verification-code input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Car Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.car-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.car-card:hover {
    transform: translateY(-4px);
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-details {
    padding: 1rem;
}

.car-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.car-price {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.125rem;
}

.car-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}
button.pswp__button.pswp__button--arrow {
    opacity: 0 !important;
}
