/* เพิ่มต่อท้ายไฟล์ assets/css/profile-dashboard.css */

.profile-content .form-control-static {
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 0;
    font-size: 1rem;
    color: #6c757d;
}

.profile-content hr {
    margin: 2rem 0;
}

.profile-picture {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  /* === CSS สำหรับปุ่มแก้ไขรูปโปรไฟล์ === */
.profile-picture-container {
    position: relative;
    width: 120px;  /* ขนาดรูปภาพ (ปรับได้) */
    height: 120px; /* ควรมีขนาดเท่ากับ width */
    display: inline-block; /* เพื่อให้ container พอดีกับรูป */
    vertical-align: middle;
  }
  
  .profile-picture-container .profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* ทำให้รูปเป็นวงกลม */
    object-fit: cover;  /* ป้องกันไม่ให้สัดส่วนรูปเพี้ยน */
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  .profile-picture-container .edit-button {
    position: absolute;
    bottom: 5px;  /* ระยะห่างจากขอบล่าง */
    right: 5px;   /* ระยะห่างจากขอบขวา */
    
    /* --- สไตล์ของปุ่ม --- */
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    
    /* --- จัดไอคอนให้อยู่กลางปุ่ม --- */
    display: flex;
    justify-content: center;
    align-items: center;
    
    color: #555555;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
  }
  
  .profile-picture-container .edit-button:hover {
    background-color: #f5f5f5;
    color: #0d6efd; /* สีน้ำเงินของ Bootstrap */
    transform: scale(1.1);
    border-color: #ccc;
  }
  
  .profile-picture-container .edit-button i {
    font-size: 14px;
  }