/* 기본 설정 */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
    color: #333; /* 기본 텍스트 색상 (로그인 컨테이너 외부 텍스트용) */
}

/* 로그인 컨테이너 (카드) */
.login-container {
    background-color: #F8F8F8; /* 카드 배경은 밝은 회색 계열 (흰색 배경 위에 떠 보이도록) */
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2); /* 흰색 배경 위에서 너무 진하지 않은 그림자 */
    max-width: 420px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05); /* 아주 미묘한 검은색 테두리 */
    z-index: 1;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 컨테이너 호버 효과 (데스크톱에서 확인 시) */
.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); /* 호버 시 그림자 살짝 진하게 */
}

/* 헤더 영역 */
.login-header {
    margin-bottom: 40px;
}

/* 제목 (G-Pin) */
.login-header h2 {
    color: #333333; /* 검은색 계열로 제목 강조 */
    margin-bottom: 10px;
    font-size: 3.2em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.1); /* 붉은색 발광 효과는 매우 약하게 유지 */
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.2); /* 붉은색 구분선도 조금 연하게 */
}

/* 태그라인 (당신이 방문한 모든 장소를 기록하세요.) */
.login-header .tagline {
    color: #555555; /* 어두운 회색 태그라인 */
    font-size: 1.1em;
    font-weight: 400;
}

/* 폼 그룹 (라벨과 입력 필드) */
.login-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 10px;
    color: #555555; /* 어두운 회색 라벨 텍스트 */
    font-size: 1.05em;
    font-weight: 600;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #BBBBBB; /* 더 밝은 회색 테두리 */
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #FFFFFF; /* 흰색 입력 필드 배경색 */
    color: #333333; /* 입력 텍스트 검은색 */
    font-size: 1.1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* 입력 필드 포커스 효과 */
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #DC143C; /* 강렬한 붉은색 테두리 */
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.15); /* 붉은색 발광 효과도 연하게 */
    outline: none;
    background-color: #F8F8F8; /* 포커스 시 약간 더 밝게 */
}

/* 로그인 버튼 */
.login-button {
    width: 100%;
    background-color: #DC143C; /* 진한 붉은색 (Crimson) */
    color: #FFFFFF; /* 흰색 텍스트 */
    padding: 18px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: 700;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4); /* 붉은색 그림자 */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* 버튼 호버 및 클릭 효과 */
.login-button:hover {
    background-color: #FF0000; /* 호버 시 더 밝은 붉은색 */
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5); /* 더 강한 붉은색 그림자 */
    transform: translateY(-3px);
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    background-color: #A00000; /* 클릭 시 약간 어둡게 */
}

/* 메시지 영역 */
.message-area {
    margin-top: 25px;
    font-size: 0.95em;
    font-weight: 600;
    min-height: 20px;
    color: #333333; /* 기본 메시지 색상도 검은색 계열로 */
}

.message-area.error {
    color: #DC143C; /* 오류 메시지 (붉은색) */
    text-shadow: 0 0 5px rgba(220, 20, 60, 0.2);
}

.message-area.success 