* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #005661;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 수직 정렬: 위쪽으로 배치 */
    align-items: center;
    height: 100vh; /* 화면의 높이를 100% 차지 */
    margin-top: 50px; /* 위쪽 여백을 줄여서 상단으로 이동 */
}
.login h1 {
    text-align: left;
    width: 100%; /* 너비를 100%로 설정하여 전체 너비를 차지하게 함 */
    padding-left: 20px; /* 필요 시 왼쪽 여백을 추가 */
}

h1 {
    margin: 40px 0;
    font-size: 36px;
    font-weight: bold;
}

.step-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step {
    background-color: #f0f4f5;
    color: #005661;
    width: 33%;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.active {
    background-color: #005661;
    color: white;
}

.arrow {
    font-size: 24px;
    color: #005661;
}

.agreement {
    margin-top: 30px;
    text-align: left;
}

.agreement-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.agreement-items {
    display: flex;
    flex-direction: column;
    border-bottom: #005661;
    border-top-color: #005661;
    border-radius: 10px;
    gap: 15px;
}

.agreement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc; /* 아래쪽에 border */
    padding: 15px;
    border-radius: 5px;
}
.agreement-item:first-child {
    border-top: 1px solid #ccc; /* 첫 번째 아이템에만 위쪽에 border */
}

.btn-check {
    background-color: white;
    color: #005661;
    padding: 10px 20px;
    border-color: #005661;
    border-radius: 5px;
    cursor: pointer;
}


.btn-check.checked {
    background-color: #005661; /* 클릭 후 배경색 */
    color: white; /* 클릭 후 텍스트 색상 */
}

.btn-check:hover {
    background-color: #003f4b;
    color: white;
}

.button-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px; /* 버튼 사이 간격 */
}

.btn {
    background-color: #005661;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 10px;
}

.btn:hover {
    background-color: #003f4b;
}

.btn-check[disabled] {
    background-color: grey;
    cursor: not-allowed;
}
/* 회원 정보 입력 */
.agreement, .registration, .complete {
    display: none;
}
.visible {
    display: block;
}

body {
    font-family: Arial, sans-serif;
}
h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: inline-block;
    width: 100px;
    font-weight: bold;
}
.form-group input,
.form-group select,
.form-group button {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 300px;
    margin-left: 10px;
}
.form-group button {
    width: auto;
    background-color: #005661;
    color: white;
    border: none;
    cursor: pointer;
}
.form-group button:hover {
    background-color: #003d4d;
}
.form-group select {
    width: auto;
}
.button-group {
    margin-top: 20px;
    text-align: center;
}
.button-group button {
    padding: 10px 20px;
    background-color: #005661;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px;
}
.button-group button:hover {
    background-color: #003d4d;
}
.required {
    color: red;
    margin-left: 5px;
}

.complete {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #f0f9ff 0%, #cbebff 47%, #a6c1ff 100%);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.complete-message h1 {
    font-size: 2.0em;
    color: #005661;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.complete-message p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
}

.btn-back {
    background-color: #005661;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #004c50;
    color: #f0f9ff;
}
