.AUcontent {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c2a986 transparent;
}

.AUcontent h1,
.AUcontent h2,
.AUcontent section {
    width: 100%;
    margin: 0 0 20px 0;
    text-align: left;
}

section {
    margin-bottom: 30px;
}

/* Buttons / labels */
.AUb1 {
    width: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin: 20px 0 10px 0;
}

.AUprofile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 0;
}

.AUb2 {
    font-size: 13px;
    font-family: sans-serif;
    font-weight: bold;
    color: #000;
}

.AUprofile-picture {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap; /* let it break on small screens */
}

.AUimage-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.AUimage-placeholder img {
    width: 100%;
    height: auto;
}

.AUprofile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.AUcustom-upload-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #5b4a33;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.AUcustom-upload-btn:hover {
    background-color: #3e3124;
}

.AUupload-input {
    display: none;
}

.AUremove-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    background-color: transparent;
    color: #e63946;
}

.AUremove-btn:hover {
    text-decoration: underline;
}

.AUinfo-list {
    padding-left: 0;
    list-style: none;
    border-top: 1px solid #ddd;
}

.AUinfo-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 10px 0;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap; /* ensures it won't break layout */
}

.AUinfo-list span {
    font-size: 12px;
}

.AUaccount-info li {
    font-size: 12px;
    padding: 15px;
}

.AUedit-arrow a {
    color: #5b4a33;
    text-decoration: none;
    font-size: 1.2rem;
}

/* ---------------------- */
/* 📱 Responsive Layouts  */
/* ---------------------- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .AUcontent {
        width: 95%;
        padding: 15px;
    }

    .AUprofile-section {
        flex-direction: row;
        gap: 15px;
    }

    .AUinfo-list li {
        font-size: 13px;
    }
}

/* Mobile (max-width: 768px) */
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .AUcontent {
        width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;   /* ✅ center all children */
        text-align: center;    /* ✅ center text inside children */
    }

    .AUbasic-info h2{
        margin-top: 20px;
        font-size: 25px;
    }

    /* Headings */
    .AUcontent h1,
    .AUcontent h2 {
        text-align: center;
        margin-left: 0;
    }

    /* Profile Section */
    .AUprofile-section {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .AUprofile-picture {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    /* Buttons */
    .AUcustom-upload-btn, 
    .AUremove-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* Info list */
    .AUinfo-list li {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 0;
    }

    .AUinfo-list span:last-child {
        margin-top: 5px;
    }
}


/* Extra small phones (max-width: 480px) */
@media (max-width: 480px) {
    .AUimage-container {
        width: 60px;
        height: 60px;
    }

    .AUcustom-upload-btn {
        font-size: 11px;
        padding: 8px 15px;
    }

    .AUremove-btn {
        font-size: 0.8rem;
    }
}
