/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    background-color: #f8fafc;
}

/* 컨테이너 */
.container {
    max-width: 36rem;
    margin: 60px auto 0;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 제목 */
.title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.title h2 {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00ac8e 0%, #4eacff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* 폼 스타일 */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.required::after {
    content: "*";
    color: #ef4444;
    margin-left: 0.125rem;
}

/* 입력 필드 */
.form-input {
    height: 3rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background-color: white;
    border-color: #00ac8e;
    box-shadow: 0 0 0 1px #00ac8e;
}

/* 비밀번호 입력 그룹 */
.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
}

.password-toggle:hover {
    color: #64748b;
}

/* 에러 메시지 */
.error-messages {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.error-text {
    color: #dc2626;
    font-size: 0.875rem;
}

/* 약관 동의 */
.agreements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agreement-all {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.agreement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agreement-list {
    margin-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #00ac8e;
    border-radius: 0.25rem;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.link {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
}

/* 제출 버튼 */
.submit-btn {
    height: 3rem;
    width: 100%;
    background: linear-gradient(33deg, #00ac8e 0%, #4eacff 97%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    filter: brightness(0.9);
}

/* 로그인 링크 */
.login-link {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #374151;
}

.login-link a {
    color: #00ac8e;
    text-decoration: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
}