
body { 
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; 
    margin: 0; 
    padding: 20px; 
    background-color: #f0f2f5; 
    color: #333;
}

/* 중앙 정렬 컨테이너 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh; /* 화면 높이의 80% 사용 */
}

/* 폼 디자인 (카드 형태) */
form { 
    background: #ffffff; 
    padding: 40px; 
    width: 320px; 
    
    /* 핵심: 둥글고 부드러운 테두리 */
    border-radius: 20px; 
    border: none; 
    
    /* 부드러운 그림자로 입체감 주기 */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}

h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #444;
    font-size: 24px;
    text-align: center;
}

/* 입력창 라벨 */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    padding-left: 5px; /* 라벨도 살짝 안쪽으로 */
}

/* 입력창 디자인 */
input { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 20px; 
    box-sizing: border-box; /* 패딩 포함 크기 계산 */
    
    /* 입력창도 둥글게 */
    border: 1px solid #e1e1e1;
    border-radius: 12px; 
    background-color: #f9f9f9;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 입력창 클릭 시 효과 */
input:focus {
    outline: none;
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1); /* 포커스 시 은은한 광채 */
}

/* 버튼 디자인 */
button { 
    width: 100%; 
    padding: 15px; 
    margin-top: 10px;
    
    /* 버튼은 완전한 알약 모양(Pill shape) */
    border-radius: 50px; 
    
    background: #007bff; 
    color: white; 
    border: none; 
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    
    /* 버튼에도 약간의 그림자 */
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.2s ease;
}

/* 버튼 마우스 올렸을 때 */
button:hover { 
    background: #0056b3; 
    transform: translateY(-2px); /* 살짝 위로 떠오르는 효과 */
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* 상단 로그아웃 영역 */
.top-bar {
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.top-bar b { color: #333; }

.logout-btn {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #fff0f0;
    transition: background 0.2s;
}
.logout-btn:hover { background-color: #ffe0e0; }