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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 445px;
}

.row {
    width: 100%;
}

.col-lg-6,
.col-md-8 {
    width: 100%;
}

.justify-content-center {
    display: flex;
    justify-content: center;
}

/* 카드 스타일 */
.auth-card {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* 헤더 */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.auth-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 성공 카드 */
.success-card {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: white;
    font-weight: bold;
}

.success-card h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.success-card > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
}

/* 입력 필드 */
input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #4285f4;
    background-color: white;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="text"]::placeholder {
    color: #999;
}

/* 버튼 */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background: #4285f4;
    color: white;
}

.btn-primary:hover {
    background: #3367d6;
}

.btn-primary:active {
    background: #2851a3;
}

.btn-block {
    width: 100%;
    margin-top: 8px;
}

.btn-back {
    display: inline-block;
    padding: 14px 32px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    transition: background 0.3s ease;
}

.btn-back:hover {
    background: #3367d6;
}

/* 정보 박스 */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #4285f4;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
    text-align: left;
}

.info-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.info-box p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.info-box ol {
    margin: 0;
    padding-left: 20px;
}

.info-box ol li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* 경고 박스 */
.warning-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
    text-align: left;
}

.warning-box strong {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.warning-box ul {
    margin: 0;
    padding-left: 20px;
}

.warning-box ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.5;
}

.warning-box a {
    color: #4285f4;
    text-decoration: none;
}

.warning-box a:hover {
    text-decoration: underline;
}

/* 비밀번호 힌트 */
.password-hint {
    background: #e3f2fd;
    border-left: 4px solid #4285f4;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.password-hint strong {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.password-hint ul {
    margin: 0;
    padding-left: 20px;
}

.password-hint ul li {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

/* 에러 메시지 */
.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

/* 푸터 */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.auth-footer a {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #3367d6;
    text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
    }

    .auth-header h1,
    .success-card h1 {
        font-size: 20px;
    }

    .success-icon {
        width: 64px;
        height: 64px;
        font-size: 36px;
    }

    .info-box,
    .warning-box,
    .password-hint {
        padding: 16px;
    }
}