/* Sidebar */
#sidebar {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.properties-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0; /* Added padding for better spacing */
}

.filter-item a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    position: relative; /* For hover effect */
}

.filter-item.is_active a {
    background-color: #f35525;
    color: #fff;
}

.filter-item a:hover {
    background-color: #e0e0e0;
    color: #f35525; /* Change text color on hover */
}

/* Konten */
#map {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.properties-items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 8px;
    /* Menambah jarak antara item */

    /* Menyesuaikan shadow agar lebih jauh dari item */
    overflow: hidden;
    transition: transform 0.3s;
    box-sizing: border-box;
}

.properties .item h4 {
    margin: 10px;
}

.item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Menambah jarak di dalam item */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.item:hover {
    transform: scale(1.02);
}

.item img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.category {
    font-weight: bold;
    color: #555;
}

h4 a {
    color: #007bff;
    text-decoration: none;
}

h4 a:hover {
    text-decoration: underline;
}

.main-button a {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-button a:hover {
    background-color: #0056b3;
}

.asset-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.asset-details-table td,
.asset-details-table th {
    /* border: 1px solid #ddd; */
    text-align: left;
}

.asset-details-table td {
    font-size: 14px;
    /* Ukuran font lebih kecil */
    color: #333;
}

.asset-details-table .label {
    font-weight: bold;
    color: #555;
    width: 35%;
}

.item-details {
    background: #f9f9f9;
    /* Warna latar belakang yang lembut */
    border-radius: 8px;
}

.asset-details-table tr:nth-child(even) {
    background-color: #f2f2f2;
    /* Warna latar belakang bergantian */
}

.asset-details-table tr:hover {
    background-color: #e0e0e0;
    /* Efek hover untuk baris tabel */
}

/* Sidebar Header */
.sidebar-header {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    padding: 15px 20px;
    background-color: #ffffff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar-header:hover {
    background-color: #f2f2f2; /* Light hover effect */
    color: #f35525; /* Change text color on hover */
}

.sidebar-header::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: #f35525; /* Highlight color */
    bottom: 0;
    left: 20px;
    border-radius: 2px;
    transition: width 0.3s;
}

.sidebar-header:hover::after {
    width: 70px; /* Increase width on hover */
}

.map-container {
    position: relative;
    margin-bottom: 20px; /* Jarak antara peta dan konten lain di bawahnya */
}

.map-header {
    text-align: center;
    background: linear-gradient(
        90deg,
        #4caf50,
        #ffc107
    ); /* Gradasi hijau ke kuning */
    color: white; /* Warna teks putih */
    padding: 15px 20px; /* Jarak internal untuk header */
    border-radius: 8px 8px 0 0; /* Sudut melengkung hanya di atas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan untuk memberikan dimensi */
    font-family: "Arial", sans-serif; /* Font yang bersih dan profesional */
    font-size: 18px; /* Ukuran font */
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 0 0 8px 8px; /* Sudut melengkung di bawah */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan untuk memberikan dimensi pada peta */
}

.register-business {
    background-color: #f9f9f9;
    border: 2px solid #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.register-business h4 {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 10px;
}

.register-business p {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
}

.btn-register-business {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-register-business:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.register-business:hover {
    transform: translateY(-5px);
}
