

~
/* 전체 레이아웃 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #a3c9f1, #f4b8d2); /* 파스텔 블루와 핑크 그라데이션 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* 컨테이너 스타일 */
.container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.container:hover {
    transform: scale(1.05); /* 마우스 오버 시 살짝 확대되는 효과 */
}

/* 헤더 */
h1 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* 폼 그룹 */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* 라벨 스타일 */
label {
    font-size: 15px;
    color: #6a6a6a;
    margin-bottom: 8px;
    display: block;
}

/* 입력 필드 */
input[type="text"], input[type="password"], input[type="file"] {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #f8f9fa;
    margin-top: 8px;
    transition: border-color 0.3s ease-in-out;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="file"]:focus {
    border-color: #f5a7d6; /* 파스텔 핑크 포커스 효과 */
    outline: none;
}

/* 프로필 이미지 미리보기 */
.profile-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 15px auto;
    border: 3px solid #f4b8d2;
}

/* 버튼 스타일 */
button[type="submit"] {
    background-color: #f5a7d6; /* 파스텔 핑크 */
    color: #fff;
    padding: 15px 0;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
}

button[type="submit"]:hover {
    background-color: #f38eae; /* 버튼 호버 시 밝은 핑크 */
}

/* 링크 스타일 */
a {
    text-decoration: none;
    color: #f5a7d6; /* 파스텔 핑크 */
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* 에러 및 성공 메시지 */
.error, .success {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

/* 작은 화면에서 폼 길이에 맞춰 반응형 디자인 */
@media screen and (max-width: 500px) {
    .container {
        padding: 25px;
        width: 90%;
    }

    h1 {
        font-size: 26px;
    }

    button[type="submit"] {
        font-size: 16px;
    }
}

.btn-danger {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.btn-warning {
    background-color: #ffc107;
    color: black;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.btn-danger:hover, .btn-warning:hover {
    opacity: 0.8;
}

