

.autoloan .header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.autoloan .header .container {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.autoloan .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.autoloan .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #059669;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}
.autoloan .logo h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}
.autoloan .logo h1 span {
    color: #059669;
}
.autoloan .tagline {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #333;
    margin: 2px 0 0;
}
.autoloan .refresh-btn {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: var(--ev-primary-500);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    margin: 5px 0 0 0;
}
.autoloan .refresh-btn:hover {
    background: #e2e8f0;
}
.autoloan .desktop-only {
    display: none;
}
@media (min-width: 640px) {
    .autoloan .desktop-only {
        display: inline;
    }
}

.autoloan .main-content {
    margin-top: 2rem;
    padding-bottom: 3rem;
}
.autoloan .grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .autoloan .grid-layout {
        grid-template-columns: 7fr 5fr;
    }
}

.autoloan .card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}
.autoloan .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.autoloan .icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.autoloan .bg-emerald {
    background: #d1fae5;
    color: #059669;
}
.autoloan .bg-blue {
    background: #dbeafe;
    color: #3b82f6;
}
.autoloan .bg-amber {
    background: #fef3c7;
    color: #d97706;
}
.autoloan .card-header h2 {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--ev-primary-600);
    margin: 0;
}

.autoloan .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .autoloan .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}
.autoloan .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.autoloan .form-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.autoloan .form-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--ev-primary-900);
    margin-bottom: 0;
}
.autoloan .select-wrapper {
    position: relative;
}
.autoloan .form-select {
    width: 100%;
    padding: 2px 15px;
    padding-right: 30px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #0f172a;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 50px;
    position: relative;
}
.autoloan .form-select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.autoloan .select-arrow {
    position: absolute;
    right: 10px;
    top: 15px;
    color: #94a3b8;
}

.autoloan .toggle-group {
    flex-wrap: nowrap;
    display: flex;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 12px;
    gap: 5px;
}
.autoloan .toggle-btn {flex: 1;padding: 0.5rem;border: none;border-radius: 0.5rem;font-weight: 700;color: #000000;cursor: pointer;transition: all 0.2s;display: flex;align-items: center;justify-content: center;gap: 0.25rem;margin: 0;text-transform: capitalize;font-size: 14px;font-weight:  500;}
.autoloan .toggle-btn.active,.autoloan .toggle-btn:hover {
    border-color: #059669;
    background: white;
    color: #059669;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.autoloan .toggle-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.autoloan .vehicle-preview {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    padding: 10px;
}
.autoloan .vehicle-preview img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    padding: 10px;
    border-radius: 10px;
}
.autoloan .price-display {
    padding: 1rem;
}
.autoloan .price-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ev-primary-900);
    margin: 0;
}
.autoloan .price-value {
    font-size: 24px;
    font-weight: 800;
    color: #dc0000;
    margin: 0.25rem 0 0;
}

.autoloan .slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.autoloan .percent-badge {
    background: #d1fae5;
    color: #059669;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}
.autoloan .slider {
    width: 100%;
    margin: 0;
}
.autoloan .slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #333;
}
.autoloan .input-wrapper {
    position: relative;
}
.autoloan .form-input {
    width: 100%;
    padding: 5px 15px;
    padding-right: 2.5rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    margin: 0;
    font-weight: 600;
    color: #000;
    min-height: 55px;
    border-radius: 10px;
    font-size: 16px;
}
.autoloan .form-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.autoloan .input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.autoloan .tenor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.autoloan .tenor-btn {
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-weight: 800;
    cursor: pointer;
    margin: 0;
}
.autoloan .tenor-btn.active {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

.autoloan .bank-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 640px) {
    .autoloan .bank-grid {
        grid-template-columns: 1fr;
    }
}
.autoloan .bank-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}
.autoloan .bank-card:hover {
    box-shadow: 0 10px 15px -3px rgba(2, 6, 23, 0.08);
    transform: translateY(-1px);
}
.autoloan .bank-card.active {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}
.autoloan .bank-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.autoloan .bank-name {
    font-weight: 900;
    color: #0f172a;
}
.autoloan .bank-tag {
    font-size: 0.75rem;
    font-weight: 900;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}
.autoloan .bank-desc {
    margin-top: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
}

.autoloan .bank-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .autoloan .bank-inputs {
        grid-template-columns: 1fr;
    }
}
.autoloan .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.autoloan .input-label {
    font-weight: 800;
    color: #334155;
    font-size: 0.85rem;
}
.autoloan .value-input {
    padding: 5px 15px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.autoloan .value-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.autoloan .helper-text {
    margin: 10px 0 8px;
    color: #363636;
    font-weight: 700;
    font-size: 0.8rem;
}

.autoloan .sticky-container {
    position: sticky;
    top: 5rem;
    display: grid;
    gap: 1.5rem;
}
@media (max-width: 1023px) {
    .autoloan .sticky-container {
        position: static;
    }
}

.autoloan .summary-card {
    background: linear-gradient(
313deg, #078d54 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}
.autoloan .summary-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.autoloan .summary-header h2 {
    font-size: var(--fs-h4);
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}
.autoloan .method-tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    min-width: 115px;
    text-align: center;
}
.autoloan .payment-highlight {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
}
.autoloan .payment-label {
    opacity: 0.85;
    font-weight: 800;
    margin: 0;
}
.autoloan .payment-highlight h3 {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: 950;
    color: #22c55e;
}
.autoloan .payment-note {
    margin: 0.35rem 0 0;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.85rem;
}

.autoloan .summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.autoloan .summary-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
}
.autoloan .summary-label {
    opacity: 0.85;
    font-weight: 800;
    margin: 0;
    font-size: 0.85rem;
}
.autoloan .summary-value {
    margin: 0;
    font-weight: 950;
    font-size: var(--fs-h5);
}
.autoloan .accent-amber {
    color: #fbbf24;
}

.autoloan .total-cost {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 25%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.autoloan .total-label {
    margin: 0;
    opacity: 0.85;
    font-weight: 900;
}
.autoloan .total-value {
    margin: 0;
    font-weight: 950;
    font-size: var(--fs-h4);
    color: #ffc327;
}

.autoloan .chart-title {
    margin: 0 0 1rem;
    font-weight: 950;
    color: #0f172a;
}
.autoloan .chart-container {
    height: 220px;
}
.autoloan canvas {
    width: 100% !important;
    height: 220px !important;
}
.autoloan .chart-legend {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.75rem;
    color: #333;
    font-weight: 800;
    font-size: 0.9rem;
}
.autoloan .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.autoloan .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.autoloan .cta-button {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: none;
    background: #059669;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
}

.autoloan .table-section {
    margin-top: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.autoloan .table-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}
.autoloan .table-header h2 {
    margin: 0;
    color: #0f172a;
    font-weight: 950;
}
.autoloan .table-subtitle {
    margin: 0.3rem 0 0;
    color: #333;
    font-weight: 800;
}
.autoloan .table-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.autoloan .loan-tag,
.autoloan .interest-tag {
    font-size: 17px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 25px;
    font-weight: 750;
    
    border-radius: 12px;
}
.autoloan .loan-tag{
    color: var(--ev-primary-500);
}
.autoloan .interest-tag {
     color: var(--warning);
}
.autoloan .table-wrapper {
    margin-top: 1rem;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}
.autoloan table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}
.autoloan thead th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #333;
    font-weight: 950;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    font-size: 16px;
    padding: 0.9rem;
    text-align: left;
    z-index: 2;
}
.autoloan thead th.text-right {
    text-align: right;
}
.autoloan tbody td {
    padding: 17px 15px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 500;
    color: #056c33;
    font-size: 16px;
    background: #fcfcfc;
}
.autoloan tbody td.text-right {
    text-align: right;
}
.autoloan tbody tr:hover td {
    background: #f8fafc;
}
.autoloan tbody td+td {
    border-left: 1px solid #e2e8f0;
}
.autoloan .footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #333;
    font-weight: 800;
}
.autoloan .disclaimer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.autoloan .features {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.autoloan .feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.autoloan .card:last-child,.sticky-container .card {
    margin-bottom: 0;
}   
.autoloan .vehicle-preview p{
    margin-bottom: 0;
}