/* 登入頁面-start */
.login-section {
    padding: 56px 0 96px;
    background: #ffffff;
    border-top: 1px solid rgba(24, 24, 24, 0.08);
    min-height: calc(100vh - 154px - 448px);

    .my-container {
        max-width: 1200px;
    }

    .login-card {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 0 20px;

        .login-card__head {
            margin-bottom: 32px;
            text-align: left;

            .login-card__title {
                margin: 0 0 12px;
                font-size: 36px;
                font-weight: 600;
                line-height: 1.2;
                color: var(--black-color);
            }

            .login-card__subtitle {
                margin: 0;
                font-size: 15px;
                line-height: 1.6;
                color: #7b7b7b;

                .login-card__subtitle-link {
                    color: var(--main-color);
                    font-weight: 600;
                    text-decoration: none;

                    &:hover {
                        color: var(--yellow-color);
                    }
                }
            }
        }

        .login-form {
            .login-form__field {
                margin-bottom: 12px;

                .login-form__input-wrap {
                    position: relative;

                    .login-form__input {
                        width: 100%;
                        min-height: 56px;
                        padding: 0 52px 0 20px;
                        border: 1px solid rgba(24, 24, 24, 0.16);
                        border-radius: 999px;
                        background: #ffffff;
                        font-size: 15px;
                        font-weight: 400;
                        color: var(--black-color);
                        outline: none;
                        transition: border-color 0.2s ease, box-shadow 0.2s ease;

                        &:focus {
                            border-color: rgba(24, 24, 24, 0.35);
                        }

                        &::placeholder {
                            color: #9ca3af;
                        }
                    }

                    .login-form__input-action {
                        position: absolute;
                        top: 50%;
                        right: 8px;
                        width: 40px;
                        height: 40px;
                        padding: 0;
                        border: none;
                        border-radius: 50%;
                        background: rgba(24, 24, 24, 0.06);
                        color: var(--black-color);
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;
                        transform: translateY(-50%);
                        transition: background 0.2s ease, opacity 0.2s ease;

                        svg {
                            width: 16px;
                            height: 16px;
                            display: block;
                        }

                        &:hover {
                            background: rgba(24, 24, 24, 0.1);
                        }
                    }
                }

                &:last-of-type {
                    .login-form__input {
                        padding-right: 20px;
                    }
                }
            }

            .login-form__meta {
                display: flex;
                justify-content: flex-end;
                margin: 8px 0 20px;

                .login-form__link {
                    font-size: 14px;
                    font-weight: 600;
                    color: var(--main-color);
                    text-decoration: none;

                    &:hover {
                        color: var(--yellow-color);
                    }
                }
            }

            .login-form__submit {
                width: 100%;
                min-height: 56px;
                border: none;
                color: #ffffff;
                font-size: 16px;
                font-weight: 400;
                cursor: pointer;
                transition: opacity 0.2s ease, background 0.2s ease;

                &:hover {
                    opacity: 0.92;
                }

                &:disabled {
                    background: #d1d5db;
                    cursor: not-allowed;
                }
            }
        }
    }
}
/* 登入頁面-end */
