/* Sidebar styles */
body {
    font-family: "Inter", sans-serif; /* Mengganti font untuk seluruh body */
}
.sidebar {
    width: 100%; /* Increased width to make the sidebar wider */
    color: #fff;
    padding: 20px;
    margin-right: 30px; /* Adds space between the sidebar and profile details */
}
.kiri {
    border-right: 2px solid #064438;
}
/* Profile details styles */

.sidebar h3 {
    color: #064438;
    padding-bottom: 10px;
    border-bottom: 2px solid #064438; /* Adds a line below the h3 */
    margin-bottom: 0px;
}

.container-status {
    background-color: rgba(17, 91, 77, 0.1);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px; /* Adds space between container-status and the nav-list */
}

/* Membership status styling */
.membership-status {
    background-color: #fff;
    color: #064438;
    padding: 15px;
    border: 2px solid #ffffff; /* Cream border */
    border-radius: 5px;
}

/* Custom navigation menu styles */
.nav-list {
    list-style-type: none;
    /* margin-top: 50px; Adds space between the container-status and the nav-list */
    padding-left: 0;
    margin-left: 0;
}
.nav-link {
    display: flex;
    justify-content: space-between; /* Bikin teks dan panah ke kiri-kanan */
    align-items: center;
    color: #064438;
    font-weight: bold;
    padding: 12px 0;
    width: 100%;
    text-decoration: none;
}

.arrow {
    font-size: 1.2em;
    color: #064438;
    transition: transform 0.2s;
}
.nav-link-item:hover .arrow {
    color: #ffffff;
    transform: translateX(3px); /* Sedikit animasi pas hover */
}
.nav-list {
    color: #064438;
    font-weight: bold;
    justify-content: space-between;
    display: block; /* Ini penting agar <a> memenuhi seluruh lebar */
    padding: 0 0 12px 0; /* Tambahkan padding vertikal agar ada jarak */
    width: 100%; /* Memastikan <a> selebar li */
    text-decoration: none;
}
/* Add lines between each custom nav item */
.nav-link-item {
    border-bottom: 1px solid #064438;
}
.nav-link-item:last-child {
    border-bottom: none;
}
.nav-link-item:first-child {
    margin-top: 0; /* Tidak ada jarak di atas item pertama */
}
.nav-link-item:hover .nav-link {
    background-color: rgba(17, 91, 77, 0.1);
    color: #ffffff;
}
/* Button styles */
.logout-btn {
    border: 1px solid #064438;
    background-color: #fff;
    color: #064438;
    margin-top: 30px; /* Adds space between the nav-list and the logout button */
    border-radius: 0%;
}

.logout-btn:hover {
    background-color: #064438;
    color: #fff;
}

.edit-btn {
    background-color: #064438;
    color: #fff;
    border: none;
}

.edit-btn:hover {
    background-color: #ffffff;
    color: #064438;
}

/* Profile details styles */
.profile-details {
    background-color: rgba(17, 91, 77, 0.1);
    color: #000;
    border-radius: 5px;
    margin-left: 30px; /* Adds space between sidebar and profile-details */
}

.profile-details h4 {
    color: #064438;
    font-weight: bold;
}

.btn-profile {
    border: 1px solid #064438;
    border-radius: 5px;
    color: #064438;
}
.btn-profile:hover {
    color: white;
    background-color: #064438;
}

.submit-alamat {
    border: 1px solid #064438;
    color: #064438;
    background-color: transparent;
    border-radius: 0;
    width: 100%;
    margin-bottom: 20px;
}
.submit-alamat:hover {
    color: #ffffff;
    background-color: #064438;
    border: 1px solid #064438;
}

.delete-alamat {
    border: 1px solid #064438;
    color: #ffffff;
    background-color: #064438;
    border-radius: 0;
    width: 100%;
    margin-bottom: 20px;
}
.form-group {
    padding-bottom: 10px;
}

.address-card {
    padding-top: 15px;
}

.address-card .card:hover {
    background-color: #064438;
    color: #ffffff;
}
@media (max-width: 768px) {
    .box {
        flex-direction: column-reverse; /* Ubah urutan kiri dan kanan */
        display: flex; /* Gunakan flex untuk pengaturan tata letak */
    }
    .profile-details {
        margin-left: 0; /* Menghilangkan margin kiri di layar kecil */
        padding: 15px; /* Mengurangi padding jika diperlukan */
    }
}
