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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    background-color: #f5f5f5;
    color: #2d2d2d;
    -webkit-text-size-adjust: 100%;
}

.page-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    border-bottom: 1px solid #ddd;
    background-color: #efefef;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header h1 {
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #2d2d2d;
}

/* Main content */
.main-content {
    padding: 0 20px;
}

/* Login title */
.login-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #2d2d2d;
    padding: 28px 0 24px;
}

/* Form inputs */
.input-group {
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 15px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #2d2d2d;
    background-color: #fff;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.input-group input::placeholder {
    color: #aaa;
    font-size: 14px;
}

.input-group input:focus {
    border-color: #23abdd;
}

/* Forgot password link */
.forgot-password {
    text-align: right;
    margin-top: 12px;
    margin-bottom: 28px;
}

.forgot-password a {
    color: #23abdd;
    text-decoration: none;
    font-size: 13px;
}

/* Security check section */
.security-section {
    margin-bottom: 8px;
}

.security-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.security-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Captcha image */
.captcha-wrapper {
    margin-bottom: 6px;
}

.captcha-image {
    width: 100%;
    height: 120px;
    background-color: #0a0a14;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.captcha-image .captcha-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 32px;
    font-family: 'Courier New', monospace;
    letter-spacing: 6px;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
    transform: skewX(-5deg);
    user-select: none;
}

.change-image {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 16px;
}

.change-image a {
    color: #23abdd;
    text-decoration: none;
    font-size: 13px;
}

/* Captcha input */
.captcha-input-group {
    margin-bottom: 6px;
}

.captcha-input-group input {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #2d2d2d;
    background-color: #fff;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.captcha-input-group input::placeholder {
    color: #aaa;
    font-size: 14px;
}

.captcha-input-group input:focus {
    border-color: #23abdd;
}

.captcha-note {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    margin-bottom: 24px;
}

/* Login button */
.login-btn {
    width: 100%;
    padding: 14px 0;
    background-color: #23abdd;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 2px;
}

.login-btn:active {
    opacity: 0.85;
}

/* Divider */
.divider {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin: 18px 0;
}

/* Social login buttons */
.social-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 100px;
    background-color: #fff;
    font-size: 14px;
    font-weight: bold;
    color: #2d2d2d;
    cursor: pointer;
    margin-bottom: 12px;
    text-decoration: none;
}

.social-btn:active {
    background-color: #f9f9f9;
}

.social-btn .icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.social-btn .icon.line-icon {
    background-color: #06c755;
}

.social-btn .icon.line-icon svg {
    width: 20px;
    height: 20px;
}

.social-btn .icon.yahoo-icon {
    background-color: #fff;
}

.social-btn .icon.yahoo-icon svg {
    width: 32px;
    height: 32px;
}

.social-btn .btn-text {
    flex: 1;
    text-align: center;
    padding-right: 48px;
}

/* Apple icon */
.social-btn .icon.apple-icon {
    background-color: #fff;
}

.social-btn .icon.apple-icon svg {
    width: 22px;
    height: 22px;
}

/* Registration section */
.register-section {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 28px;
    text-align: center;
}

.register-title {
    font-size: 18px;
    font-weight: bold;
    color: #2d2d2d;
    margin-bottom: 20px;
}

.register-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    background-color: #fff;
    color: #23abdd;
    border: 2px solid #23abdd;
    border-radius: 100px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    letter-spacing: 2px;
}

.register-btn:active {
    background-color: #f0faff;
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    text-align: center;
    padding: 32px 0;
    color: #aaa;
    font-size: 12px;
}

.bottom-space {
    height: 40px;
}
