* {
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
        margin: 0;
        padding: 0;
    }

    .page-wrapper {
        max-width: 420px;
        margin: 0 auto;
        padding: 60px 20px 40px;
        position: relative;
    }

    .containersid {
        width: 100%;
    }

    h1 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 35px;
        color: #000;
        letter-spacing: -0.5px;
        text-align: center;
    }

    .login-methods {
        display: flex;
        width: 100%;
        background-color: #f5f5f5;
        padding: 10px;
        margin-bottom: 25px;
        border-radius: 6px;
        gap: 0;
    }

    .login-method {
        flex: 1;
        padding: 12px 0;
        font-size: 14px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        background: transparent;
        color: #999;
        font-weight: 500;
        transition: all 0.2s;
    }

    .email {
        margin-right: 0;
    }

    .phone {
        margin-left: 0;
    }

    .active-method {
        background-color: #fff !important;
        color: #000 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
        font-weight: 600 !important;
    }

    .email:not(.active-method),
    .phone:not(.active-method) {
        background: transparent;
        color: #999;
        border: none;
    }

    .input-label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: #000;
        margin-bottom: 8px;
        margin-top: 10px;
    }

    .input-label:first-of-type {
        margin-top: 0;
    }

    .required-mark {
        color: #ff0000;
        margin-left: 2px;
    }

    .input-field {
        width: 100%;
        padding: 14px 16px;
        margin-bottom: 18px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        font-size: 14px;
        background-color: #fff;
        transition: border-color 0.2s;
    }

    .input-field:focus {
        outline: none;
        border-color: #000;
    }

    .input-field::placeholder {
        color: #d0d0d0;
    }

    .submit-btn {
        width: 100%;
        padding: 16px;
        background-color: #2b2b2b;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 10px;
        transition: all 0.2s ease;
    }

    .submit-btn:hover {
        background-color: #000;
    }

    .submit-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

    .back-to-login {
        display: block;
        margin-top: 25px;
        color: #666;
        text-decoration: underline;
        font-size: 13px;
        cursor: pointer;
        text-align: center;
    }

    .back-to-login:hover {
        color: #000;
    }

    .hidden {
        display: none !important;
    }

    /* 결과 페이지 스타일 */
    .result-container {
        background: #f5f5f5;
        border-radius: 8px;
        padding: 30px;
        margin-top: 20px;
        display: none;
    }

    .result-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .result-content {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        margin-bottom: 20px;
    }

    .highlight {
        color: #000;
        font-weight: bold;
    }

    .auth-section {
        display: none;
        margin-top: 20px;
    }

    .auth-code-wrapper {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }

    .auth-code-wrapper input {
        flex: 1;
        margin-bottom: 0;
    }

    .auth-code-wrapper button {
        padding: 14px 20px;
        background-color: #000;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        white-space: nowrap;
        font-size: 14px;
    }

    .auth-code-wrapper button:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

    .timer {
        font-size: 13px;
        color: #ff0000;
        margin-bottom: 15px;
    }

    .info-message {
        font-size: 13px;
        color: #666;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .error-message,
    .email-error-message {
        color: #ff0000;
        font-size: 12px;
        margin-top: 5px;
        display: none;
    }

    .password-section {
        margin-top: 20px;
    }

    .password-section input {
        margin-bottom: 10px;
    }

    .password-hint {
        font-size: 12px;
        color: #888;
        margin-bottom: 15px;
    }

    /* 반응형 */
    @media (max-width: 480px) {
        .page-wrapper {
            padding: 50px 15px 30px;
        }

        h1 {
            font-size: 22px;
        }

        .login-method {
            padding: 10px 0;
            font-size: 13px;
        }

        .input-field {
            padding: 12px 14px;
        }

        .submit-btn {
            padding: 14px;
            font-size: 14px;
        }
    }