#loginForm {
    fieldset {
        position: relative;
        border: 1px solid var(--border-strong);
        border-radius: 3px;
        padding: 20px 26px;
        align-content: center;

        > legend {
            position: absolute;
            top: -0.625rem;
            left: 1.25rem;
            padding: 0 5px;
            background: var(--bg-page);
            font-size: 1rem;
            font-weight: bold;
        }

        // 로그인 창
        > form {
            label {
                cursor: pointer;
                margin-bottom: 7px;

                &:last-child {
                    margin-bottom: 0;
                }
            }

            input[type="email"],
            input[type="password"] {
                &:nth-of-type(1) {
                    margin-bottom: 15px;
                }

                &:nth-of-type(2) {
                    letter-spacing: 1px;
					margin-bottom: 10px;
                }
            }
        }

        // 우측 안내문구
        dl {
            dt {
                font-weight: bold;
                padding-bottom: 8px;
            }

            dd {
                font-size: 0.938rem;

                a {
                    display: block;
                    padding: 0.438rem 0;
                    color: var(--text-link);
                    text-decoration: none;

                    &:hover {
                        text-decoration: underline;
                        color: var(--text-link-hover);
                    }

                    small {
                        vertical-align: text-top;
                    }
                }
            }

            &:last-child {
                dd > a {
                    padding-bottom: 0;
                }
            }
        }

        hr {
            margin: 0.938rem 0;
        }
    }
}

@media (max-width: 420px) {
    #loginForm {
        fieldset {
            padding: 1rem 0 0 0;
            border: none;

            > legend {
                position: initial;
                padding: initial;
                font-size: 1rem;
                font-weight: bold;
            }

            > form {
                padding: 0;
            }

            > hr {
                display: block;
            }
        }
    }
}

@media (max-width: 640px) {
    #loginForm {
        fieldset {
            width: 100%;

            > form {
                padding: 1rem 0;
            }
        }
    }
}