.imageInput {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    border-radius: 20px;
    background-color: lightgray;
    align-items: center;
    transition: transform 0.3s ease;
}
.imageInput:hover {
    transform: scale(1.03);
    background-color: #a8a8a8;
}
.imageInput i {
    font-size: 6rem;
}
.imageCropped {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0px 2px 7px rgb(206, 206, 206);
    object-fit: cover;
}
.cropperModal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.containerCropper {
    background-color: white;
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}
.cropButton {
    justify-self: end;
}
.parentModal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr) 0.4fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: white;
    width: 90%;
    height: 90%;
}

.div1Modal {
    grid-area: 1 / 1 / 5 / 6;
    width: 100%;
    height: 100%;
}
.div2Modal {
    grid-area: 5 / 1 / 6 / 6;
    display: flex;
    justify-content: end;
    margin-top: 2rem;
}



* .hero {
    position: relative;
    background: url("/img/bg about.webp") center/cover no-repeat;
    height: 560px;
    display: flex;
    align-items: center;
    filter: brightness(50%);
    justify-content: center;
    color: rgb(250, 241, 241);
    font-size: 30px;
    font-weight: bold;
}

body {
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 200px;
    margin-bottom: 200px;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-picture {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-section {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.profile-header h2 {
    font-size: 18px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.avatar {
    width: 80px;
    height: 80px;
    background-color: #ccc;
    border-radius: 50%;
    margin-bottom: 10px;
}

.upload-btn {
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.delete-profile {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    border: none;
    background-color: white;
    text-decoration: none;
}
.image-requirements {
    display: flex;
    flex-direction: column; /* Elemen tetap bertumpuk ke bawah */
    align-items: flex-start; /* Rata kiri */
    color: #666;
    margin-left: 20px;
    margin-top: -50px;
}
.image-requirements p {
    margin-bottom: 5px; /* Jarak kecil antara judul dan daftar */
    font-weight: bold;
}
.image-requirements h3,
h4 {
    font-size: 12px;
}

/* Detail Pengguna */
.user-details {
    padding: 15px;
    margin-top: 50px;
}

.user-details h2 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.input-group {
    flex: 1;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #666;
}

.save-btn {
    background: #007bff;
    color: white;
    padding: 10px;
    width: 20%;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 80%;
}

.save-btn:hover {
    background: #0056b3;
}

/* Responsif */
@media (max-width: 768px) {
    .profile-header h2 {
        margin-top: 160px;
        margin-left: 115px;
    }

    .container {
        height: auto; /* atau nilai tinggi yang diinginkan _*/
        padding-bottom: 20px;
    }

    .profile-content {
        flex-direction: column;
        align-items: center;
    }

    .input-group .label {
        font-size: 10px;
    }

    .input-row {
        flex-direction: column;
    }

    .image-requirements {
        text-align: center;
        margin-top: 0;
    }

    .save-btn {
        background: #007bff;
        color: white;
        border-radius: 20px;
        font-weight: bold;
        font-size: 15px;
        width: 200px;
        margin-left: 100px;
    }
}
