/* File: DataOto/assets/css/styles.css */

.harga-motor-container {
    margin: 20px;
    font-family: Arial, sans-serif;
}

.harga-motor-filter {
    margin-bottom: 20px;
}

.harga-motor-filter label {
    margin-right: 10px;
}

.harga-motor-filter select, #lihat-harga-button {
    padding: 5px 10px;
    margin-right: 10px;
}

.kategori-title {
    background-color: #1e90ff;
    color: #fff;
    padding: 10px;
    margin: 0;
}

.motor-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.motor-table th, .motor-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.motor-table th {
    background-color: #f4f4f4;
}

.beli-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.beli-button:hover {
    background-color: #0056b3;
}
/* File: dataoto/assets/css/styles.css */
.updated.notice {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* File: dataoto/assets/css/styles.css */
/* Container utama */
.display-prices-page .harga-motor-container {
    text-align: center;
    background-color: #f9fcff;
    padding: 20px;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Judul */
.display-prices-page .menu-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Grid untuk menu */
.display-prices-page .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Kartu menu */
.display-prices-page .menu-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.display-prices-page .menu-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.display-prices-page .menu-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.display-prices-page .menu-item p {
    font-size: 14px;
    color: #777;
}

.display-prices-page .menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .harga-motor-container {
        margin: 10px;
        padding: 15px;
    }

    .harga-motor-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .harga-motor-filter label,
    .harga-motor-filter select,
    #lihat-harga-button {
        margin: 5px 0;
    }

    .motor-table th,
    .motor-table td {
        padding: 8px;
    }

    .display-prices-page .menu-title {
        font-size: 20px;
    }

    .display-prices-page .menu-item {
        padding: 15px;
    }

    .display-prices-page .menu-item h3 {
        font-size: 16px;
    }

    .display-prices-page .menu-item p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .harga-motor-container {
        padding: 10px;
    }

    .display-prices-page .menu-title {
        font-size: 18px;
    }

    .display-prices-page .menu-item {
        padding: 10px;
    }

    .display-prices-page .menu-item h3 {
        font-size: 14px;
    }

    .display-prices-page .menu-item p {
        font-size: 10px;
    }
}
/* Style untuk tombol */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 10px 20px; /* Penambahan padding agar tombol lebih lebar */
    background-color: #fff; /* Warna latar belakang putih */
    color: #333; /* Warna teks hitam */
    border: 2px solid #333; /* Border hitam */
    border-radius: 25px; 
    font-size: 16px; /* Ukuran font lebih besar */
    font-weight: bold; 
    cursor: pointer; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Bayangan tombol */
    transition: all 0.3s ease; 
    margin-bottom: 20px;
    width: auto;
    max-width: 100%;
    display: block; /* Menampilkan tombol satu per satu secara vertikal */
    margin-left: auto;
    margin-right: auto;
}

/* Hover efek: saat mouse berada di atas tombol */
.btn:hover {
    background-color: #f0f0f0; /* Warna latar belakang saat hover */
    transform: scale(1.05); /* Memberikan efek sedikit membesar */
}

/* Responsif: Pengaturan untuk layar kecil (tablet dan ponsel) */
@media (max-width: 768px) {
    .btn {
        font-size: 14px; /* Ukuran font sedikit lebih kecil */
        padding: 8px 16px; /* Padding lebih kompak */
        width: 80%; /* Tombol mengambil 80% lebar wadah */
    }
}

/* Responsif: Pengaturan untuk layar sangat kecil (ponsel) */
@media (max-width: 480px) {
    .btn {
        font-size: 12px; /* Ukuran font lebih kecil lagi */
        padding: 6px 12px; /* Padding lebih kecil */
    }
}
/* Style Umum untuk Tabel */
.motor-listrik-table, .mobil-table, .motor-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 20px; /* Memberikan jarak antar tabel */
}

.motor-listrik-table th, .mobil-table th, .motor-table th, 
.motor-listrik-table td, .mobil-table td, .motor-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.motor-listrik-table th, .mobil-table th, .motor-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Gaya untuk tombol beli */
.beli-button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

.beli-button:hover {
    background-color: #45a049;
}

/* Responsif: Membuat tabel scrollable di layar kecil */
@media (max-width: 768px) {
    .motor-listrik-table, .mobil-table, .motor-table {
        width: 100%;
        display: block;
        overflow-x: auto; /* Membuat tabel bisa di-scroll secara horizontal */
        white-space: nowrap; /* Menghindari teks dipotong */
    }

    .motor-listrik-table th, .mobil-table th, .motor-table th, 
    .motor-listrik-table td, .mobil-table td, .motor-table td {
        text-align: left; /* Merapikan text alignment di layar kecil */
    }
}

/* Menambahkan gaya untuk header tabel yang lebih responsif */
@media (max-width: 480px) {
    .motor-listrik-table th, .mobil-table th, .motor-table th, 
    .motor-listrik-table td, .mobil-table td, .motor-table td {
        padding: 8px;
        font-size: 12px; /* Ukuran font lebih kecil di ponsel */
    }

    .beli-button {
        padding: 4px 8px; /* Mengurangi ukuran tombol agar tidak terlalu besar */
        font-size: 12px; /* Ukuran font tombol lebih kecil */
    }
}
/* Style tombol */
.simulasi-kredit-container button {
    background-color: #0073e6;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #005bb5; /* Menambahkan border pada tombol */
    border-radius: 10px; /* Membuat tombol lebih melengkung */
    cursor: pointer;
    margin-top: 20px; /* Menambahkan jarak di atas tombol */
    margin-bottom: 30px; /* Menambahkan jarak di bawah tombol agar tidak menempel dengan output */
    display: block; /* Membuat tombol menjadi block-level agar berada di tengah */
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s, border-color 0.3s; /* Animasi perubahan warna */
}

.simulasi-kredit-container button:hover {
    background-color: #005bb5;
    border-color: #003d82; /* Warna border saat hover */
}

/* Jarak antara tombol dan tabel output */
.simulasi-kredit-container .output-table {
    margin-top: 20px; /* Tambahan jarak vertikal untuk memastikan tabel tidak terlalu dekat dengan tombol */
}

/* Styles for Simulation Result */
.hasil-simulasi {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #163F7D;
    padding: 20px;
    border-radius: 8px;
}

.judul-simulasi {
    text-align: center;
    background-color: #004F9A;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.tabel-simulasi {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #204F91;
}

.tabel-simulasi th, .tabel-simulasi td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #3E7FBF;
}

.tabel-simulasi th {
    width: 50%;
    font-weight: bold;
}

.tabel-simulasi .highlight {
    font-weight: bold;
    background-color: #002B66;
}

.keterangan {
    background-color: #163F7D;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.keterangan h4 {
    margin-bottom: 10px;
    text-decoration: underline;
}

.keterangan ol {
    margin-left: 20px;
    color: #D9EFFF;
}
#mass-input-container {
    margin-top: 10px;
    margin-bottom: 20px;
}

#mass-input-container .row {
    display: flex;
    gap: 10px;
}

#add-row {
    margin-top: 10px;
}
/* Platform Card */
.platform-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    max-width: 600px;
}

.platform-card h3 {
    margin-top: 0;
    color: #23282d;
}

/* Form Groups */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="url"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 15px;
}

/* Form Footer */
.form-footer {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Platform Actions */
.platform-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Button Styles */
.button-small {
    padding: 0 10px;
    height: 28px;
    line-height: 26px;
}

.button-danger {
    color: #dc3232;
    border-color: #dc3232;
}

.button-danger:hover {
    background: #dc3232;
    color: #fff;
}

/* Modal Styles */
.platform-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.platform-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
    border-radius: 4px;
}

.platform-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.platform-modal-close:hover {
    color: black;
}

/* Tab Styles */
.nav-tab-wrapper {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.nav-tab {
    padding: 8px 15px;
    margin-right: 5px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f1f1f1;
    text-decoration: none;
}

.nav-tab-active {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Color Pickers */
input[type="color"] {
    width: 50px;
    height: 30px;
    vertical-align: middle;
}

.color-hex {
    width: 100px;
    margin-left: 10px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
