/**
 * 이 파일은 OAuth모듈의 일부입니다. (https://www.imodules.io)
 *
 * 회원 모듈에 추가된 OAuth 버튼 스타일을 정의한다.
 *
 * @file /modules/oauth/resources/styles/Member.css
 * @author sungjin <esung246@naddle.net>
 * @license MIT License
 * @modified 2026. 11. 13.
 */
body[data-frame='admin'] {
    div[data-module='oauth'][data-role='buttons'] {
        margin-top: 20px;
        border-top: 1px solid var(--aui-white-secondary);
        padding-top: 20px;

        > a[data-role='button'] {
            width: 100%;
        }
    }
}

div[data-role='module'][data-module='member'] {
    div[data-module='oauth'] {
        &[data-role='buttons'] {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        > button[data-action='connect'] {
            border: 1px solid var(--im-bg-quaternary);
            font-size: 16px;
            padding: 15px 20px;
            text-decoration: none;
            height: 80px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            background: transparent;
            line-height: 1rem;

            > b {
                display: block;
            }

            > small {
                display: block;
                margin-top: 10px;
                color: var(--im-text-secondary);
                font-size: 14px;
            }

            &:hover {
                background: var(--im-bg-tertiary);
            }
        }
    }

    ul[data-role='form'] {
        &.social {
            > li {
                > div {
                    > button[data-social],
                    > a[data-role='button'] {
                        display: flex;
                        align-items: center;
                        padding: 10px;
                        border-radius: 5px;
                        color: var(--im-white-primary);
                        height: 45px;
                        width: 240px;
                        gap: 10px;

                        > i.site {
                            display: inline-block;
                            font-style: normal;
                            font-family: moimz;
                            text-rendering: auto;
                            -webkit-font-smoothing: antialiased;
                            -moz-osx-font-smoothing: grayscale;
                        }

                        &[data-social='google'] {
                            background: #da483f;

                            > i.site::before {
                                content: '\eb01';
                            }
                        }

                        &[data-social='slack'] {
                            background: #4a154b;

                            > i.site::before {
                                content: '\eb24';
                            }
                        }

                        &[data-social='apple'] {
                            background: #000000;

                            > i.site::before {
                                content: '\eb02';
                            }
                        }
                    }
                }
            }
        }
    }
}
