/* OceanTripIQ Vehicle Challan – modern UI */
.vehicle-form {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.vehicle-form input {
    flex: 1 1 260px;
    padding: 12px;
    border: 2px solid #0077ff;
    border-radius: 10px;
    font-size: 16px;
}
.vehicle-form button {
    padding: 12px 100px;
    background: #232323;
    color: #232323;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.25s;
}
.vehicle-form button:hover { background: #005fcc; }

.vehicle-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
}
.vehicle-card h2 {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #0b63ff;
    border-bottom: 2px solid #eef2ff;
    padding-bottom: 8px;
}
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 18px;
    font-size: 15px;
}
.vehicle-grid div {
    padding: 8px 10px;
    background: #f8faff;
    border-radius: 8px;
}
.vehicle-error {
    padding: 12px;
    background: #ffe7e7;
    border: 1px solid #ff6969;
    border-radius: 10px;
    color: #8b0000;
    margin-top: 15px;
}
.deduction-msg {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 8px 10px;
    border-radius: 8px;
    margin: 10px 0 12px;
}

/* === Challan layout === */
.challan { 
    border: 1px solid #eef2ff; 
    border-radius: 12px; 
    padding: 14px; 
    margin: 14px 0; 
    background: #fff; 
}
.challan__head {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 12px; 
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.challan__title .idx {
    background: #f1f5ff; 
    border: 1px solid #e0e7ff; 
    color: #2b4eff; 
    padding: 4px 8px; 
    border-radius: 8px; 
    margin-right: 8px; 
    font-weight: 600;
}
.challan__title .no { font-size: 16px; }
.challan__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
    display: inline-block; 
    padding: 4px 8px; 
    border-radius: 999px; 
    font-size: 12px; 
    border: 1px solid transparent;
}
.badge--paid    { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.badge--pending { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }
.badge--cancel  { background: #fee2e2; border-color: #fecaca; color: #7f1d1d; }
.badge--amount  { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.badge--date    { background: #f1f5f9; border-color: #e2e8f0; color: #0f172a; }

.challan__grid {
    display: grid; 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
    gap: 12px 18px; 
    margin-top: 8px;
}
.challan__grid label { 
    display: block; 
    font-size: 12px; 
    color: #64748b; 
    margin-bottom: 2px; 
}
.challan__grid p { 
    margin: 0; 
    font-size: 15px; 
    color: #0f172a; 
    background: #f8fafc; 
    border-radius: 8px; 
    padding: 8px 10px; 
}

.challan__actions { margin-top: 12px; }
.btn { 
    display: inline-block; 
    padding: 10px 14px; 
    border-radius: 10px; 
    text-decoration: none; 
    font-weight: 600; 
    border: 1px solid transparent;
}
.btn--primary { background: #2563eb; color: #fff; }
.btn--primary:hover { background: #1e40af; }
