.customer-account-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-account-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
}

.customer-account-header h1 {
    font-size: 28px;
    color: #00827f;
    font-weight: bold;
    text-transform: uppercase;
}

.customer-account-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customer-info-card {
    position: relative;
    background-color: #FFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.customer-info-card h2 {
    font-size: 18px;
    color: #00827f;
    margin-bottom: 15px;
}

.customer-info-card p {
    font-size: 14px;
    color: #333;
    margin: 10px 0;
}

.customer-info-card hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0;
}

.customer-info-card .edit-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2em;
    color: #00827f;
    cursor: pointer;
    z-index: 10;
}

.customer-info-card .edit-icon:hover {
    color: #005f59;
}

.customer-actions {
    text-align: center;
    margin: 30px 0;
}

.customer-actions button {
    padding: 12px 40px;
    font-size: 14px;
    background-color: #00827f;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.customer-actions button:hover {
    background-color: #005f5a;
}

.favorite-item button:hover {
    background-color: #005f5a;
}

/* CSS untuk modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* CSS untuk modal konten */
.modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Untuk menghilangkan scroll pada body saat modal aktif */
body.modal-open {
    overflow: hidden;
}

/* Header modal */
.modal-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
    color: #333;
}

/* Label dan Input form */
.modal-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Tombol simpan */
.modal-content button {
    background-color: #00827f;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #00665e;
}

/* Tombol close (X) */
.modal-content .close {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #555;
    transition: color 0.2s ease;
}

.modal-content .close:hover {
    color: #f00;
}

/* Kontainer produk favorit */
.favorite-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 1px;
    padding: 20px;
}

/* Setiap item favorit */
.favorite-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover efek untuk produk */
.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Gambar produk */
.favorite-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Nama produk */
.favorite-item h3 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}