/* 전체 컨테이너 스타일 */
.profile-container {
    /* max-width: 400px; */
    /* margin: 50px auto; */
    padding: 20px;
    overflow: hidden;
    overflow-y: auto;
    margin: 0 auto;
    /* background-color: #f9f9f9; */
    /* border: 1px solid #ddd; */
    /* border-radius: 10px; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

/* 제목 스타일 */
.profile-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* 폼 요소 스타일 */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-center{
    align-items: center;
}

label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

/* 입력 필드 스타일 */
input[type="text"],
input[type="tel"],
input[type="password"], 
input[type="number"]{
    width: 100%;
    padding: 10px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
}

/* 읽기 전용 필드 스타일 */
input[readonly] {
    background-color: #f3f3f3;
    color: #777;
    border-color: #ddd;
    cursor: not-allowed;
}

/* 버튼 스타일 */
button {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

/* button:hover {
    background-color: #0056b3;
} */

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 성공 메시지 */
#message {
    text-align: center;
    color: green;
    font-size: 14px;
    margin-top: 15px;
}

/* 에러 메시지 */
#error {
    text-align: center;
    color: red;
    font-size: 14px;
    margin-top: 15px;
}


/* 프로필 사진 컨테이너 */
.image-preview-container {
    position: relative;
    display: inline-block;
    width: 100px; /* 이미지 크기에 맞게 조정 */
    height: 100px;
}

#imagePreview {
    border: 0px solid #ccc;
    width: 100px;
    height: 100px;
    /* background-color: #243456; */
    border-radius: 50%;
    object-fit: cover; /* 이미지가 컨테이너에 맞게 조정 */
    background-color: rgb(240, 230, 140);
}

/* 사진 바꾸기 아이콘 */
.change-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease-in-out;
}

.change-icon:hover {
    background-color: #0056b3;
}

.change-icon svg {
    fill: white;
}
